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.