CRUD-based naming for web applications works, but there's a better way using Single Action Controllers and VerbSubjectType naming patterns.
Laravel's default setup prevents Cloudflare from caching HTML responses.
Laravel's logging system makes it very easy to system notifications to your company's Slack channel.
Here's a small trait you can use to access "temporary" relationships in Laravel.
Laravel doesn't have a
whereHasAll method built in, but here's how you can replicate it yourself.
If you've recently started running into an issue with MySQL on GitHub Actions, you may need to update your MYSQL_USER variable.
In this guide, we'll replace Laravel Mix with Vite in a Laravel Jetstream (Inertia/Vue) application.
Here's a GitHub Actions file you can use to deploy Laravel applications to Laravel Vapor.
Learn how to add Stripe's Checkout and Customer Portal products to your Laravel application using Laravel Cashier.
A couple of open source packages makes storing and testing encrypted database values in Laravel a breeze.
This error can happen when you have two of the same class names declared in the same namespace.
Follow along as we build a drop down component with Caleb Porzio's Laravel Livewire.
If you're using ElastiCache with the Encryption In-Transit setting turned on, you'll need to tweak your REDIS_HOST environment variable when connecting with Laravel
Many people use an in-memory SQLite database when running their Laravel feature tests. If you're doing this, chances are you can improve the runtime of your Laravel test suite.
Calling seeders from migrations allows you to ensure data referenced by code always exists in your database.
Here's a quick package you can use to fake the Queue for a specific set of lines in a Laravel test.
When using Laravel Dusk, you have to ensure you're using the correct Chrome Driver version based on the version of Chrome installed on the machine.
Here's how you can quickly get started with linting your PHP code using the CodeSniffer library.
The following workflow script can be used as a starting point for building and testing a Laravel application with GitHub Actions.
If you upload files to AWS S3 via your Laravel application, but want to restrict access to those files, you can do so using signed requests.
Laravel provides a simple way to declare event listeners out of the box via the EventServiceProvider class.
Here's a quick snippet to get HTTP request logging setup quickly in Laravel.
Learn how to fix a potential performance problem when serializing models for Laravel jobs.