定制 ozziest/maintenance 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

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

GitHub 信息

  • Stars: 1
  • Watchers: 4
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-12-05