Problem
You want to clear the compiled classes.
You know that Larvel can optimize class loading and want to clear any optimizations for testing.
Solution
Use the `php artisan clear-compiled' command.
$ php artisan clear-compiled
Discussion
This deletes two files:
- The
bootstrap/compiled.phpfile. This file is created when you optimize classes. - The
app/storage/meta/services.jsonfile. This file is created as Laravel tries to optimize the loading of the service providers your application uses.
