Reputation: 1535
I'm trying to use a service class in Laravel called ide-helper. It provides auto completion into PHPStorm. it is not functioning as expected. I have been advised that I should run php artisan clear-compiled.
what does the term "clear compiled" mean ?
https://github.com/barryvdh/laravel-ide-helper#automatic-phpdoc-generation-for-laravel-facades
Many thanks
Upvotes: 0
Views: 606
Reputation: 57733
Laravel uses an optimized class loader for better performance.
The command php artisan clear-compiled
deletes the following 2 files:
bootstrap/compiled.php
Created when you optimize classes.app/storage/meta/services.json
This file is created as Laravel tries to optimize the loading of the service providers your application uses.For more Information on performance optimizing also see http://laravel-recipes.com/recipes/60/optimizing-the-framework-for-better-performance
Upvotes: 2