kyslik/view-clear
View clearing command for Laravel 5.
Simple artisan command to clear view folder in Laravel 5.1 and Laravel-5.0
Simply put: clears storage/framework/views folder.
Laravel 5.1 UPDATE
If you are using Laravel 5.1.* you do NOT need this package since it is part of Laravel base commands.
$ php artisan view:clear
Setup
Version(s)
- For Laravel 5.0 use version ~1.0.0
- For Laravel 5.1 use version ~2.0.0 Laravel 5.1 has its own view:clear command, this package is not needed.
Composer
Pull this package in through Composer.
{
"require-dev": {
"kyslik/view-clear": "~2.0.0"
}
}
$ composer update
Add the package to your application service providers in config/app.php
'providers' => [
App\Providers\RouteServiceProvider::class,
/*
* Third Party Service Providers...
*/
Kyslik\ViewClear\ViewClearServiceProvider::class,
],
Usage
$ php artisan view:clear --help
Use case
When developing blade extensions it is useful to clear view cache in process.
Related Packages
guissilveira/laravel-pgsql-multi-tenant-migrate
Laravel Artisan command to migrate postgres multi tentant
188
1
nwidart/db-exporter
Export your database quickly and easily as a Laravel Migration and all the data...
39,126
377
abhijitghogre/laravel-db-clear-command
Laravel artisan command to drop all database tables and rerun the migrations.
3,527
5
hariadi/laravel-boilerplate-generator
Generate Model, attribute, relation, scope trait and repository for Laravel Boil...
609
9