Testing the homepage of a Laravel app using Pest
Getting started with testing is not that hard. Here's a free video taken from the Testing Laravel course that will show you how you can make sure you homepage works.
Read more [spatie.be]
Posts tagged with laravel
Getting started with testing is not that hard. Here's a free video taken from the Testing Laravel course that will show you how you can make sure you homepage works.
Read more [spatie.be]
– rias.be
One of our projects has a really large test suite that isn't optimised to run with Laravel's parallel testing. It was starting to take more than 15 minutes to have the whole test suite run inside Github Actions, which is when my colleague Rias searched for a better way to do this.
Read more [rias.be]
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"
This is an amazing documentary that shows the origins of Laravel, and it's 12 year journey. I'm honoured being a part of this.
Laravel 9 is fresh out the door, and it contains a small contribution of mine: a new callOnce method for database seeders.
Read more [sebastiandedeyne.com]
– 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]
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]