tmountjr / clear-storage
Clears Laravel's app/storage/views directory.
Installs: 30
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/tmountjr/clear-storage
Requires
- php: >=5.4.0
- illuminate/support: 4.2.*
This package is not auto-updated.
Last update: 2025-09-27 21:44:45 UTC
README
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.