PHP
Things You Should Know About Databases
Let’s explain the two most important topics when working with RDBMSs: indexes and transactions. 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
Lots of things to be learned in this detailed post by Josh Comeau Read more
Some good tips for writing effictive, human-friendly documentation. Read more
Did you know that DateImmutable isn’t really immutable? Read more
[AdSense-A]
We've released a new package called spatie/laravel-sql-commenter. This one can add comments to SQL queries. These comments allow you to easily pinpoint the origin of a query when looking at your query log.