Drying up test coverage using model scope events
– devonmather.dev - submitted by Devon Mather
Let's explore the option of firing events on model scopes to add some glue between our feature tests and our unit tests.
Read more [devonmather.dev]
Posts tagged with laravel
– devonmather.dev - submitted by Devon Mather
Let's explore the option of firing events on model scopes to add some glue between our feature tests and our unit tests.
Read more [devonmather.dev]
How many times have you onboarded a new dev onto your team, only to have to spend ages debugging with them because your project's .env.example file is wildly outdated?
Here's a package that can help with that!
Read more [github.com]
Join 9,500+ smart developers
Get my monthly newsletter with what I learn from running Spatie, building Oh Dear, and maintaining 300+ open source packages. Practical takes on Laravel, PHP, and AI that you can actually use.
No spam. Unsubscribe anytime. You can also follow me on X.
"Freek publishes a super resourceful and practical newsletter. A must for anyone in the Laravel space"
I'm proud to announce that our team has released a new package called spatie/laravel-route-discovery. This package can be used to automatically discover and register routes by looking at your controllers and views. Of course, you can also still register routes like you're used to in a routes file.
In this blog post, I'd like to tell you all about this package.
In this video, Jeffrey Way of Laracasts shares all the cool new stuff in Laravel 9.
Here's how Treblle, a large Laravel app, manages to keep their AWS costs low.
Read more [treblle.com]
On this edition of the meetup, Francisco Madeira talks about creating beautiful CLI apps with Termwind. Claudio Dekker shows what's new in Inertia.
Here's a cool post by Tom McFarlin how you can use Ray in WordPress to easily see a the callers of a function. This doesn't only work in WordPress but any Laravel and PHP app.
Read more [tommcfarlin.com]
- submitted by Tony Messias
Tony Messias has ported a cool feature from Rails to Laravel.
Here's how Luke Downing goes about testing environment specific things.
Read more [downing.tech]
In this video, Michael steps a natural approache on how to test environment specific functionality.
Our team has released a small package called spatie/laravel-slack-alerts. It can be used to send a message to Slack quickly. In this blog post, I'd like to share why we've created this package and how you can use it.
I'm proud to share that our team has released a new major version of Ignition, the most beautiful error page for Laravel and PHP. It has been redesigned from the ground up. Here's how it looks like. This error page will be the default in Laravel 9. You can optionally install it into any Laravel 8 or…
– aaronfrancis.com - submitted by Aaron Francis
How to use Inertia's SSR features in a serverless environment like Laravel Vapor.
Read more [aaronfrancis.com]
– protone.media - submitted by Pascal Baljet
For Artisan School, I wanted to create custom Open Graph images for each video page. When somebody shares a link on social media, platforms like Facebook and Twitter use the OG image to represent the shared link. I'll show you how to use Browsershot and Tailwind CSS to generate and save the OG images.
Read more [protone.media]
Validation takes on many shapes and forms. In this post, Frank walks you through all the possibilities.
Read more [blog.frankdejonge.nl]
– aaronfrancis.com - submitted by Aaron Francis
Aaron Francis clearly explains how you can make Ziggy work with Ineratia's shiney new SSR feature.
Read more [aaronfrancis.com]
Now that we are in the final days of 2021, let's take a look back at that stuff my team and I did in 2021.
Here's the story behind JMac's efforts making Laravel Shift a success.
Read more [jasonmccreary.me]
I usually don't link to these kind of lists, but this one is great. Every one of the videos mentioned is a gem.
Read more [jcergolj.me.uk]
Here's a cool technique by Aaron Francis where he uses artisan commands to create daemons.
Read more [aaronfrancis.com]