承接 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
  • 点击次数: 4
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

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