Increase performance by using Eloquent's `setRelation` method
While working on the upcoming Oh Dear redesign, I noticed that list that displays all sites of a team was very slow. To display that list, a lot of...
Aug 4th 2022 freek.dev

Using markdown in HTML (in markdown) in Hugo
The markdown specification allows you to inline HTML in a markdown document. This is a regular paragraph. <table> <tr>
Jul 25th 2022 sebastiandedeyne.com

Making sure routes, config and events of your Laravel app are cached in production
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...
Jul 18th 2022 freek.dev

Introducing our new Laravel Options package
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...
Jul 8th 2022 freek.dev

Encrypting Laravel Eloquent models with CipherSweet
In your project, you might store some sensitive personal or credential data in your database. Should an unauthorised person get access to your DB, all this sensitive can be read. To...
Jul 1st 2022 rias.be

Using Laravel Vite to automatically refresh your browser when changing a Blade file
Yesterday, the Laravel team released the vite-plugin. Going forward, Vite will become the standard build tool for Laravel apps. One of the cool features of this Vite integration is that...
Jun 29th 2022 freek.dev

Making Vite and Valet play nice together
Yesterday, the Laravel team launched the official vite-plugin. From now on, Vite will be the standard build tool for Laravel. The main benefits are vastly improved build times and...
Jun 29th 2022 freek.dev

Highlighting code using Sidecar & Shiki
Shiki is a beautiful syntax highlighter powered by the same language engine that many code editors use. We've just released a package that allows you to run Shiki ...
Jun 27th 2022 rias.be

Using the `Attachable` interface to attach any kind of object to a mail in a Laravel app
Laravel 9 has gained a excellent new way to attach files in mails. Using the Attachable interface, you can specify what should happen when an object gets used as...
Jun 26th 2022 freek.dev

Using the `Attachable` interface to attach any kind of file to a Mail in a Laravel app
Laravel 9 has gained a excellent new way to attach files in mails. Using the Attachable interface, you can specify what should happen when an object gets used as...
Jun 26th 2022 freek.dev