Simple artisan command to clear compiled views in Laravel 5.0
kyslik/view-clear is a Laravel package for simple artisan command to clear compiled views in laravel 5.0.
It currently has 4 GitHub stars and 7.728 downloads on Packagist (latest version 2.0.2).
Install it with composer require kyslik/view-clear.
Discover more Laravel packages by kyslik
or browse all Laravel packages to compare alternatives.
Last updated
Simple artisan command to clear view folder in Laravel 5.1 and Laravel-5.0
Simply put: clears storage/framework/views folder.
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
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,
],
$ php artisan view:clear --help
When developing blade extensions it is useful to clear view cache in process.