ozziest/maintenance
最新稳定版本:1.1.0
Composer 安装命令:
composer require ozziest/maintenance
包简介
Simple maintenance commands for your applications.
关键字:
README 文档
README
This library based on Symfony/Console. If you are using symfony/console package for your console application, you can use this too. The library has two commands which are down and up.
If you are using Laravel Framework, you don't need this. :)
Installation
To install through composer, simply put the following in your composer.json file:
{
"require": {
"ozziest/maintenance": "1.*",
}
}
Usage
You must add commands to your console application;
$console->add(new Ozziest\Maintenance\Up('app/cache')); $console->add(new Ozziest\Maintenance\Down('app/cache'));
You must define writable path.
index.php
Ozziest\Maintenance\Maintenance::check('app/cache', 'This is a maintenance message.');
License
MIT
统计信息
- 总下载量: 78
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-12-05