PHP
Invokable custom validation rules in Laravel
Povilas demonstrates a nice little features that was recently added to Laravel.
Povilas demonstrates a nice little features that was recently added to Laravel.
A typical Laravel application will likely have many routes, config files and possibly some events. In your development environment, these routes and config files will be loaded and registered in each request. The performance penalty Read more…
In this blog post, Josh Comeau shares some of the epiphanies he’s had about this distinction, and how you can use this information in day-to-day work. Read more
PHP 8.2 is scheduled to be released on the 24th of Nov, 2022. Of course, meanwhile, you may test the new features, syntax changes, and other improvements in your local environment. Read more
Let’s explain the two most important topics when working with RDBMSs: indexes and transactions. Read more
Before we learn strategies for better software design, we must understand our enemy – complexity. Let’s define complexity, how to spot it, and what causes it. Read more
Composer 2.4 features scanning the installed and new packages for known security vulnerabilities. When a new package is installed, or an existing package is updated, Composer looks up the package version numbers on known security Read more…
[AdSense-A]
When developing web applications, you probably encounter a lot of places where someone needs to select one or more options in a (multi-)select. These select boxes always need a list of options with labels and values.
In one of our projects, we had options being generated in lots of places. Sometimes these lists of options were the same, leading to a lot of code duplication. Even worse, in some cases, different formats were used to output the same options.
That's why we've created a new package called spatie/laravel-options. It will take a resource which can create options such as an enum, a list of models or even a plain array. And will always create a standardized array of options you can use within your frontend application.
DRY is just like every other principle out there – it has its place, but it’s best taken in moderation. Read more
Let’s check out how we can improve working with Livewire and Vite together, by using the Vite Livewire Plugin by Fabio Ivona. Read more