tmountjr/clear-storage
Clear Storage
Introduction
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.
Installation
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',
),
Usage
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.
License
Clear Storage is open-sourced software licensed under the MIT license.
Related Packages
Powerful PHP database abstraction layer (DBAL) with many features for database s...
Laravel Serializable Closure provides an easy and secure way to serialize closur...
Cli error handling for console/command-line PHP applications.
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v1.0.0 | >=5.4.0 | 4.2.* | MIT |