Laravel 13 cheatsheet
Laravel 13: Testing and cache
4 common Laravel 13 tasks.
Create a feature test
Generate a feature test in the tests directory.
php artisan make:test PostTest
Clear optimized caches
Clear cached bootstrap files produced by Laravel's optimization commands.
php artisan optimize:clear
Cache configuration for deployment
Combine configuration files into a cached file for production.
php artisan config:cache
Caution: After caching configuration, access environment values through config files rather than calling env() elsewhere.