Download the PHP package lemonphp/cakeplugin-maintenance-mode without Composer
On this page you can find all versions of the php package lemonphp/cakeplugin-maintenance-mode. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download lemonphp/cakeplugin-maintenance-mode
More information about lemonphp/cakeplugin-maintenance-mode
Files in lemonphp/cakeplugin-maintenance-mode
Package cakeplugin-maintenance-mode
Short Description A plugin to enable and disable maintenance mode for CakePHP
License MIT
Homepage https://github.com/lemonphp/cakeplugin-maintenance-mode
Informations about the package cakeplugin-maintenance-mode
Introduction
A plugin to enable and disable maintenance mode for CakePHP
Main features
- [x] Show a page to alert application in maintenance mode
- [x] Allow customize maintenance alert page template
- [x] Allow enable and disable maintenance mode by shell
- [ ] Allow enable and disable maintenance mode by post request
- [ ] Allow access from some IPs when enabled maintenance mode
- [ ] Allow access some URLs when enabled maintenance mode
- [ ] 100% code coverage
- [ ] Support both CakePHP 3.x and 2.x
Requirements
- php >=5.5.9
- cakephp 3.x
Installation
You can install this plugin into your CakePHP application using composer.
The recommended way to install composer packages is:
Usage
Enable plugin
Add this line to config/bootstrap.php
file
Enable maintenance mode
Using option --force
to enable maintenance mode with default config:
- View class:
\App\View\AppView
- Templatce:
Pages/maintenance.ctp
- Layout:
default
- Time: a hour from now
Disable maintenance mode
Changelog
See all change logs in CHANGELOG.md
Contributing
All code contributions must go through a pull request and approved by a core developer before being merged. This is to ensure proper review of all the code.
Fork the project, create a feature branch, and send a pull request.
To ensure a consistent code base, you should make sure the code follows the PSR-2.
If you would like to help take a look at the list of issues.
License
This project is released under the MIT License. Copyright © 2015-2016 LemonPHP Team.