- Redirect with fragment in Laravel
- Cache headers on the fly
- Run Artisan commands from other functions
- Redirect to specific route or route name
- Use array functions in PHP instead of collections in Laravel
- New methods in Laravel 11 release
- Create a special method in your model to hide the implementation
- Use DD on the same line in Eloquent
- Format percentages with Laravel's Number class
- Divide the controller with only and except
- Handle invoice sending with live update progress bar
- Use service classes in Laravel
- Use match with two values in PHP
- New array methods in PHP 8.4
- Prevent n+1 query problem in Laravel by preventing lazy loading
- Multiple ways to call the view from the controller in Laravel
via 18 Laravel/PHP Tips in 10 Minutes: June 2024