承接 kyslik/view-clear 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

kyslik/view-clear

最新稳定版本:2.0.2

Composer 安装命令:

composer require kyslik/view-clear

包简介

Simple artisan command to clear compiled views in Laravel 5.0

README 文档

README

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

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.

统计信息

  • 总下载量: 7.7k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 5
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 0
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-03-04