Package Data | |
---|---|
Maintainer Username: | tmountjr |
Maintainer Contact: | tmountjr@gmail.com (Tom Mount) |
Package Create Date: | 2015-03-09 |
Package Last Update: | 2015-03-09 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-22 03:00:32 |
Package Statistics | |
---|---|
Total Downloads: | 29 |
Monthly Downloads: | 1 |
Daily Downloads: | 0 |
Total Stars: | 2 |
Total Watchers: | 1 |
Total Forks: | 0 |
Total Open Issues: | 0 |
For heavily-used apps, Laravel's app/storage/views
directory can get cluttered, slowing down performance and potentially causing cache problems. Clear Storage removes those files.
Install using composer: composer require tmountjr/clear-storage:~1.0
Be sure to add the package to your service provider list in app/config/app.php
:
'providers' => array(
// additional providers
'Tmountjr\ClearStorage\ClearStorageServiceProvider',
),
While Clear Storage can be run manually from the command line (php artisan storage:clear-views
), it should be run from within a deployment script, clearing out the storage directory on each new deployment.
Clear Storage is open-sourced software licensed under the MIT license.