debugging

Cache the bootstrap files for faster application loading.

php artisan php artisan optimize

Syntax

Syntax
php artisan optimize

Explanation

Caches the service provider class map and other bootstrap files. Run in production after deploying. Improves application boot time by pre-loading class maps.

Example

Example
php artisan optimize

Explanation

Caches the service provider class map and other bootstrap files. Run in production after deploying. Improves application boot time by pre-loading class maps.