PHP Classes

Yii2 Maintenance: Implement a PHP maintenance mode in a Web site

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 20 All time: 11,349 This week: 673Up
Version License PHP version Categories
yii2-maintenance 1.0MIT/X Consortium ...5PHP 5, System information, Libraries
Description 

Author

This package can implement a PHP maintenance mode in a Web site.

It provides a component for the Yii2 framework that can observe when a maintenance mode is enabled and allow applications to configure how the site can behave during the maintenance mode.

The package allows applications to define callback functions that implement custom actions when maintenance mode is enabled or will be enabled soon.

Applications can implement maintenance mode actions that show warnings on the Web pages and only allow users accessing from specific IP addresses to access the site features.

Innovation Award
PHP Programming Innovation award nominee
October 2022
Number 7
Once in a while, Web sites need to perform some maintenance tasks, such as updating the site application database schema to support new features.

During maintenance updates, the sites should not be accessible to regular users because the maintenance tasks may cause user interactions that lead to changes in information stored in the site database.

This package provides a solution to implement maintenance mode behaviors, for instance, showing warnings or only allowing administrators to access certain features of the sites.


Manuel Lemos
Picture of Insolita
  Performance   Level  
Innovation award
Innovation award
Nominee: 18x

 

  Files folder image Files (18)  
File Role Description
Files folder imagesrc (3 files)
Files folder imagetests (4 files, 2 directories)
Accessible without login Plain text file .scrutinizer.yml Data Auxiliary data
Accessible without login Plain text file .travis.yml Data Auxiliary data
Accessible without login Plain text file CHANGELOG.md Data Auxiliary data
Accessible without login Plain text file codeception.yml Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:20
This week:0
All time:11,349
This week:673Up