The essential news about content management systems and mobile technology. Powered by Perfect Publisher and XT Search for Algolia.
The News Site publishes posts to the following channels: Facebook, Instagram, Twitter, Telegram, Web Push, Tumblr, and Blogger.
Welcome to the first episode of a new "Creator Spotlight"
video series where we interview Laravel
developers about the things they are creating. Today we talk with
Matt Stenson who created a Laravel Advanced
String package that adds extra advanced string manipulation
methods to the built-in Str
class. This package
provides extended functionality on strings, such as advanced
password generation, data redaction, and more.
The String methods this package includes are:
Generates a random, secure password.
public static function advPassword(
$length = 32,
$letters = true,
$numbers = true,
$symbols = true,
$spaces = false,
$upperLetters = false,
$lowerLetters = false,
$exclude = []
)
Wraps a string at a given number of characters regardless of words.
public static function charWrap(
$string,
$length = 80
)
Extracts the domain part of an email address, including subdomains.
public static function emailDomain(
$string
)
Calculates the read time of a string.
public static function readTime(
$string,
$wpm = 200
)
Redacts credit card numbers in a string.
public static function redactCreditCard(
$string,
$redacted = '********',
$exclude = []
)
Redacts Social Security Numbers (SSN) in a string.
public static function redactSsn(
$string,
$redacted = '********',
$dashes = true,
$noDashes = true
)
Splits a full name into first name, middle name (if present), and last name, removing any prefixes and suffixes. This method can handle both "Firstname Lastname" and "Lastname, Firstname" formats.
public static function splitName(
$name
)
For more info check out the Github Repo for installation details, API docs, and more.
The post Laravel Advanced String Package appeared first on Laravel News.
Join the Laravel Newsletter to get all the latest Laravel articles like this directly in your inbox.
Read more https://laravel-news.com/laravel-advanced-string-package
The annual State of Laravel survey is open for 2024, and you can participate to help identify trends in how the ecosystem has changed over the last twelve months.
The State of Laravel survey is "an attempt to gain insight into the representation of the diverse technologies and behaviors of this outstanding community."
The survey continues to build on surfacing long-term trends in Laravel and surrounding ecosystems over the last four years. The survey collects statistics about developer demographics, tech stack usage, development tools, production, and opinion categories.
Let's highlight a few trends we're seeing from the results of the State of Laravel Survey 2023:
Which other programming languages do you use?
JavaScript and TypeScript dominate the top "other" programming languages respondents used in projects. JavaScript and TypeScript are ubiquitous languages, so it is no surprise that virtually every respondent uses these languages. Outside of the JS ecosystem, Python remains strong, with 25% of users writing Python. Golang saw a slight uptick of +3% (~12%) in 2023 as well:
What are you using to make your frontend reactive?
Vue.js remains king and holds steady in the ~ 60% range of respondents using Vue on the front end in some capacity. React is increasing slowly, and I want to see if React sees a nice uptick in adoption in the 2024 survey. Livewire will be another front-end choice, and we've seen a steady increase in tutorials, projects, and developers sharing Livewire-related code. Filament also enters the survey under the new category Administration Panels, which might contribute to an uptick in Livewire usage.
Which versions of PHP are you using for your applications?
The 2024 survey introduces the adoption of PHP 8.3 to the PHP
versions developers use in applications (multiple choice). Laravel
has done an excellent job of supporting backward compatibility
while using modern PHP 8 features. The latest version, Laravel 11,
requires PHP ^8.2
, and Laravel 10 requires PHP
^8.1
. I'd expect most developers are using PHP 8.3
this year, especially with development options like Laravel Herd:
Are you using any library to build administration panels?
Administration panels are a new survey question this year and include Laravel Nova, Filament, and Backpack. I don't have any solid predictions in this category, but I would guess that we will see a healthy number of responses for all three options. There are other options in this space; it would be interesting to see how many people would tick the "other" box here as well.
Take the State of Laravel 2024 survey to contribute your voice to the community. By sharing and participating, you can help us gain more insights into this amazing community.
The post Take the Annual State of Laravel 2024 Survey appeared first on Laravel News.
Join the Laravel Newsletter to get all the latest Laravel articles like this directly in your inbox.
Read more https://laravel-news.com/state-of-laravel-survey-2024
From the earliest days of WordPress.com, the bottom of every site on our platform has featured a default phrase in the footer credit area. Today, we’re handing the reigns over to you: every website using a block theme, on every plan, can customize the footer credit to say anything at all.
That footer space offers a small and potent opportunity to showcase your creativity and unique tastes. Whether you’re buttoned up or just plain silly or somewhere between, visitors will get a little hint as to the personality behind the brand.
Examples:
Okay, that last one was my six-year-old daughter’s idea. But you get the picture: you have total freedom to display anything you want in the footer credit—or nothing at all. Of course we’d be honored if you still include WordPress.com in your footer, but no harm, no foul if not.
This new customization is only available on sites using block themes. These are themes that use blocks for every part of the site, whereas “classic” themes are still utilizing CSS and other coded elements.
You can find out which type of theme your site is using by hovering over “Appearance” in the left-side menu of your dashboard. If you see “Editor,” you’re using a block theme. If you don’t, you’re using a classic theme.
We’re big advocates of using block themes, as these unlock the most powerful WordPress features available today. If you need help converting your theme, check out this handy guide.
In about 30 seconds flat, you can have a custom footer credit:
Keep in mind that you can edit and add nearly any block in the footer area—text, social links, images, buttons, etc.
Just like that, you have more options at your fingertips. That’s what we’re always striving for at WordPress.com. If you’re not on a block theme yet, we strongly encourage you to make that switch. Choose one today:
WordPress.com Block ThemesLet us know in the comments what you think of this new feature and always feel free to drop in ideas for other things you’d like to see.
Read more https://wordpress.com/blog/2024/07/24/footer-credit-customize/
Laravel is one of the most popular PHP frameworks, known for its elegant syntax and powerful features. According to the JetBrains Development Ecosystem Report 2023, over 60% of PHP developers use Laravel, and nowadays, many opt for this framework for their professional development.
Whether you're a beginner just starting with web development or an experienced pro looking to boost your skills, this blog post will guide you through the best educational resources available for mastering Laravel. From online courses and books to YouTube channels and community resources, you'll find everything you need to become proficient in Laravel.
Online courses are a great way to learn Laravel at your own pace. They offer structured learning paths and hands-on projects to help you build real-world applications. Here are some of the best online courses available:
Often referred to as the "Netflix for developers", Laracasts, managed by well-known Laravel community member Jeffrey Way, offers a vast library of high-quality video tutorials focused primarily on Laravel. It also includes a series on modern PHP development, testing, and other related technologies. With its active community and discussion forums, Laracasts is an essential resource for any Laravel developer. The content ranges from beginner to advanced levels, covering fundamental concepts, real-world applications, and best practices. Here, you can find the most interesting ones depending on your experience:
30 Days to Learn Laravel is an extensive series of video tutorials by Jeffrey Way that covers Laravel from the basics to advanced topics. It includes topics like routing, controllers, Eloquent ORM, testing, and deployment. The hands-on approach helps learners build applications while understanding the underlying concepts of Laravel.
For those who are already familiar with Laravel and ready to go deeper, discover the free PhpStorm for Laravel Developers series that is tailored to help Laravel developers maximize their efficiency using PhpStorm, a JetBrains IDE for PHP. This series covers a variety of topics, including PhpStorm basic setup and configuration, code navigation, refactoring, and debugging, specifically within a Laravel project. The series dives into advanced features like live templates, macros, and integration with Laravel tools such as Tinker and Artisan. Each episode is designed to help developers become more productive by leveraging PhpStorm’s powerful features tailored for Laravel development. This video course doesn’t require a Laracasts subscription.
Subscription price: USD 15/month or USD 99/year, providing access to all content, including series on modern PHP development, testing, and more. Some courses are free.
Laravel Daily offers a variety of tutorials and tips focused on Laravel development and is managed by experienced web developer Povilas Korop. The content is updated regularly and covers both beginner and advanced topics in Laravel.
If you’ve just started with Laravel, the Laravel 11 For Beginners: Your First Project free course might be an ideal choice for you. It offers a practical introduction to Laravel 11 and, instead of delving deep into theory, focuses on creating a small project to manage a blog. By completing this project, learners will understand the essential features of Laravel, such as routing, Blade templates, database migrations, and Eloquent ORM.
For an intermediate level of experience, discover the Laravel Collections Chains: 15 Real Examples course, which focuses on mastering Laravel Collections through 15 practical, practical examples. Laravel Collections provide a fluent, convenient wrapper for working with arrays and data sets in Laravel. This course helps developers leverage the power of Collections to write more efficient and readable code, including various use cases such as data filtering, transformation, aggregation, and complex manipulations.
Subscription price: USD 29/month or USD 129/year. Some courses are free.
Codecourse offers a variety of tutorials on web development at both the beginner and intermediate levels, with a strong focus on Laravel. Check out the Laravel Basics series, which takes you through the most-used parts of the framework to get you up and running in no time.
Udemy is a large educational platform offering a variety of courses across different fields. One notable course for Laravel beginners is PHP with Laravel for Beginners - Become a Master in Laravel.
This tutorial is designed to take a learner from a complete beginner to a Laravel master. It covers the basics of PHP and Laravel, including routing, controllers, views, and database interactions with Eloquent ORM. The course includes hands-on projects, allowing you to build real-world applications and solidify your understanding. With lifetime access to the course materials, you can learn at your own pace.
Course price: USD 23 (prices may vary).
Coursera is an online learning platform that partners with top universities and organizations worldwide to offer online courses, specializations, degrees, and professional certificates across a wide range of subjects.
The Mastering Laravel Framework and PHP course covers the essentials of PHP and the Laravel framework, which is ideal for beginners with some prior PHP knowledge. It starts with setting up a development environment, followed by fundamental PHP concepts, including arrays, functions, and form handling. The course then delves into the Laravel framework, covering key features such as routing, middleware, controllers, and views. Students will learn to build web applications from scratch, applying best practices in Laravel. The course includes video lectures, readings, and quizzes.
Course price: free to audit; сertificate available for a fee (typically around USD 49).
Approved by the creator of Laravel, Taylor Otwell, Laravel: Up & Running is a comprehensive guide that takes you through the essentials of Laravel, from installation to advanced features. Matt Stauffer, a renowned Laravel developer, explains concepts clearly and provides practical examples. The book covers routing, middleware, controllers, Eloquent ORM, Blade templating, and more. It also dives into advanced topics like testing, queues, and real-time event broadcasting.
“Not only is Matt one of the most knowledgeable members of the Laravel community, he is also a fantastic teacher. I’m proud to recommend this book as a thorough, extensive guide to the Laravel framework.” – Taylor Otwell, Creator of Laravel
This book is a must-have for both new and experienced Laravel developers looking to solidify and deepen their knowledge.
Price: USD 39 (may vary).
YouTube is a fantastic resource for learning Laravel through video tutorials. Here are some of the best channels to help you get started:
Traversy Media, created by Brad Traversy, is renowned for its high-quality web development tutorials. On this channel, you can find the Laravel Crash Course tutorial designed for beginners, which covers everything from setting up a Laravel project to deploying it.
The Net Ninja is another well-known source that provides detailed and well-structured tutorials on web development. The Laravel Tutorial for Beginners playlist covers the basics of Laravel, from installation to building a full-fledged web application. Each video is short and focused, making it easy to follow along and grasp the concepts.
The Laravel documentation is a comprehensive and up-to-date resource covering every aspect of the framework. It includes detailed explanations, code examples, and guides on various features such as routing, middleware, authentication, and more. It's an essential resource for both new and experienced developers working with Laravel. Regular updates ensure that you have the latest information on new features and best practices.
Laravel News is a community-driven portal that provides the latest news, tutorials, and packages for Laravel. It features articles on new releases, best practices, and tips for improving your Laravel projects. The site also includes interviews with prominent Laravel developers and information about upcoming events and conferences. Laravel News is an excellent way to stay updated on the latest trends and developments in the Laravel ecosystem. It's a valuable resource for continuous learning and keeping your skills sharp.
The Laracasts forum is a vibrant community where you can ask questions, share knowledge, and discuss all things Laravel. The forums are frequented by experienced developers and Laravel experts who provide helpful advice and solutions. You can find discussions on a wide range of topics, from troubleshooting specific issues to best practices for Laravel development. Participating in the forums is a great way to connect with other developers and learn from their experiences. It's an excellent resource for getting support and staying engaged with the Laravel community.
Laravel.io is a Laravel community portal that provides various resources to help developers learn, share, and connect with others. It includes a forum, a compendium of articles written by community members covering a wide range of topics, a real-time chat that allows developers to communicate with each other for quick assistance, information, and more.
This guide provides a comprehensive overview of the best resources available for learning Laravel. Whether you prefer structured online courses, in-depth books, engaging YouTube tutorials, or active community participation, there's something here for every learner. Dive in, start exploring, and take your Laravel skills to the next level!
The post The Best Laravel Tutorials and Resources for Developers appeared first on Laravel News.
Join the Laravel Newsletter to get all the latest Laravel articles like this directly in your inbox.
Read more https://laravel-news.com/the-best-laravel-tutorials-and-resources-for-developers
Filepond is a JavaScript package that allows you to upload anything, with popular integrations for React, Vue, Svelte, and more. If you're using Livewire, now you can easily use Filepond to upload files within Livewire components using Spatie's livewire-filepond package. This package contains a Livewire component that allows you to start using it in your Laravel projects easily:
use Livewire\Component;
use Spatie\LivewireFilepond\WithFilePond;
class MyLivewireComponent extends Component
{
use WithFilePond;
public $file;
}
// <x-filepond::upload wire:model="file" />
You can pass any property that Filepond accepts, and you can further customize the Livewire Filepond component with the following options available at the time of writing:
You can learn more about this package, get full installation instructions, and view the source code on GitHub. To learn more about this project, check out Freek Van der Herten's writeup about this package.
The post Upload Files Using Filepond in Livewire Components appeared first on Laravel News.
Join the Laravel Newsletter to get all the latest Laravel articles like this directly in your inbox.
Read more https://laravel-news.com/livewire-filepond
Page 11 of 1348