Redirecting Test Emails Safely in Laravel
A small Laravel feature that prevents a big headache: how Mail::alwaysTo() keeps staging and demo environments from accidentally emailing real users.
9 articles tagged laravel.
A small Laravel feature that prevents a big headache: how Mail::alwaysTo() keeps staging and demo environments from accidentally emailing real users.
When configuring Filament to operate from the application's root directory, you might encounter routing errors. This is due to naming collisions with Laravel's default routes. Let's look at the solution!
When running tests with Laravel and Pest, the 'A facade root has not been set' error is a common one for beginners. Fortunately the fix is simple!
Laravel's Process Facade makes it easy to work with system processes. Let's see how by building a simple domain expiry notification system!
Idempotency is a critical concept to be aware of when building robust APIs, and is baked into the SDKs of companies like Stripe, Paypal, Shopify, and Amazon. But what exactly is idempotency? And how can we easily add support for it to our Laravel APIs?
Discover how to tackle Laravel's testing challenges in multi-database scenarios. Say goodbye to the notorious 'Lock wait timeout' error.
Rolling averages are perfect for smoothing out time-series data, helping you to gain insight from noisy graphs and tables. This new package adds first-class support to Laravel Collections for rolling average calculation.
Multi-tenant applications in Laravel typically detect the tenant from the URL. Queues and artisan commands are powerful tools, but have no URLs attached. How do we make them tenant-aware?
When doing any sort of non-trivial development, sooner or later you’ll likely end up having to send emails from your application. Email is a key part of many application for things like event notifications or user account verification. Testing that the right mails get sent at the right times can often be more hassle than it really should be. Fortunately, a tool called Mailcatcher exists to make this process much easier.