Pipeline is one of Laravel's less-known features. It's often used in the framework itself, for example routing, but not so many developers use it. In this article, I try to explain them, and show some examples.
Laravel 11 is not scheduled to be released until the end of the year, but some new features have been shared out, and Taylor goes through some big new improvements in his Laracon keynote:
Composer 1 has been officially deprecated for several months and is no longer compatible with PHP 8.2.
PHP 8.3 will be released on November 23, 2023; it has improvements to readonly classes, the new json_validate() function, additions to the recently added Randomizer class, stack overflow detection, and more.
When you want to compare two database columns in Laravel, you can’t use where because it treats the argument you’re comparing to as a value.
Laravel is one of the most popular PHP frameworks out there, and for good reason. It provides a powerful set of tools that make it easy to build complex web applications quickly and efficiently. One of the core concepts in Laravel is the idea of facades. Facades provide a simple way to access complex objects in a more intuitive and user-friendly way. In this article, we'll take a closer look at facades in Laravel and how they can be used to simplify your code.
Sometimes you figure out why the uploaded image is not progressive, while you use a media-library to handle the upload. This check will help you figure out if tools are installed on your server.
This is a friendly reminder to keep leading slashes in mind in .gitignore files.
tl;dr: How about using generics in PHP attributes?
PHP 8.2 is right around the corner — let's take a look at what's new!
When using spatie/eloquent-sortable, you have a extensive sorting function to your eloquent.
MySQL views are a way of storing queries on the database level, and producing virtual tables with them. In this post we'll look at why you want to use them and how they can be integrated in Laravel with Eloquent models.
Following last week's release which focused on Artisan, this week's Laravel v9.24 release introduces three new database commands we think you will love.
Base on my experience, this is what I'm usually coding style before laravel pint.
Coding can be a tedious task, and it's easy to get lost in the endless string of code. But there are tools out there that can help you streamline your workflow and make coding easier.
Released on v9.23. when running `php artisan doc collection` it will open the Laravel Collection documentation on your favorite browser.
Linux is a Unix-like operating system that was originally created by Linus Torvalds. Linux is typically packaged in a Linux distribution. It is free and open source.
PhpStorm has a lot of great settings simplifying the developer’s work. But some very convenient settings are turned off by default. On the other hand, some rarely used ones are turned on by default. It could make work with the IDE slower than it could be.
As you may know, we recently introduced a fresh new look for Artisan. But, we're not quite done with our flurry of console improvements.
After introducing a fresh new look for Artisan, we also took some time to identify new Artisan commands to improve your Laravel experience. We know - we're kind of obsessed.
Today's Laravel v9.21.0 release introduces an amazing new look for Artisan. In fact, almost all of the built-in Artisan commands have been totally reimagined to deliver a better experience.
I've got a pretty good example to illustrate how much PHP has changed over the past decade.
When developing web applications, you probably encounter a lot of places where someone needs to select one or more options in a select or multi-select. These select boxes always need a list of options with labels and values.
Lumen will sunseting in the near future, so starting with a new project, lumen is now not recommended to use it as a api application.
Generating test suite payload of large API can be mind-numbing if not implemented properly. Let us take a look on how to handle this in the best possible way.