Kyslik / view-clear by Kyslik

Simple artisan command to clear compiled views in Laravel 5.0
Package Data
Maintainer Username: Kyslik
Maintainer Contact: (Martin Kiesel)
Package Create Date: 2015-03-04
Package Last Update: 2017-07-13
Home Page:
Language: PHP
License: MIT
Last Refreshed: 2020-05-24 03:09:32
Package Statistics
Total Downloads: 7,186
Monthly Downloads: 28
Daily Downloads: 0
Total Stars: 4
Total Watchers: 0
Total Forks: 2
Total Open Issues: 0

View clearing command for Laravel 5.

Latest Version Software License Total Downloads

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



  • 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.


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' => [


     * Third Party Service Providers...


$ php artisan view:clear --help

Use case

When developing blade extensions it is useful to clear view cache in process.