It's been a while since I blogged about Laravel Splade, but a lot has happened since the last blog post. Splade is gaining traction, and usage numbers are increasing! Many already use it to build their projects, leading to many feature requests and bug and support tickets. Thanks everybody for provi...
A few weeks ago, we introduced Laravel Splade. In a nutshell, it combines the magic of Inertia.js with the simplicity of Laravel Blade. It started as an experiment to bring that magical SPA feeling to Blade and worked incredibly well. I introduced it on Twitter, and the response was overwhelming! Yo...
This blog post follows up on the first overview of the new Blade, Requests, Routing and Validation features in Laravel 8 since the original release in September 2020. Enjoy! I got most code examples and explanations from the PRs and official documentation. The collect method now allows you to get a...
Following last week's blog post about Jobs and Queues, here's an overview of new features and improvements when it comes to Blade, Requests, Routing and Validation. I got most code examples and explanations from the PRs and official documentation. Quickly inspect the request input. Typically, a 404...
For Artisan School, I wanted to create custom Open Graph images for each video page. For example, when somebody shares a link on social media, platforms like Facebook and Twitter use the OG image to represent the shared link. There are many services to create and serve OG images, but I didn't want t...
I've always been a big fan of the Bootstrap framework, from the first version on. It's a great way to rapidly build interfaces and prototypes. These days we've mostly moved away from it towards Tailwind CSS, but it's still a great framework. Adam Wathan, the creator of the Tailwind framework, had a...
For a project which has to deal with prices, we decided to use the PHP Money library. It is an implementation of Fowler's Money pattern and has great features and no dependencies. Most important, you shouldn't represent (and store) monetary values by a float. It takes away the problem of rounding er...