Download the PHP package lch/maintenance-bundle without Composer
On this page you can find all versions of the php package lch/maintenance-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download lch/maintenance-bundle
More information about lch/maintenance-bundle
Files in lch/maintenance-bundle
Download lch/maintenance-bundle
More information about lch/maintenance-bundle
Files in lch/maintenance-bundle
Vendor lch
Package maintenance-bundle
Short Description Symfony LchMaintenanceBundle
License MIT
Homepage https://github.com/compagnie-hyperactive/MaintenanceBundle
Package maintenance-bundle
Short Description Symfony LchMaintenanceBundle
License MIT
Homepage https://github.com/compagnie-hyperactive/MaintenanceBundle
Keywords maintenancesystem
Please rate this library. Is it a good library?
Informations about the package maintenance-bundle
MaintenanceBundle
Provides helper to set web app in maintenance mode. This is useful when using automated deploying processes, ensuring website is properly inaccessible during the deploy process.
This bundle provides a flat html fil for maintenance splash screen. This is done to avoid generating cache during the maintenance time.
Installation
composer require lch/maintenance-bundle
Usage
Use the command to toggle maintenance mode :
php bin/console lch:maintenance:mode 1
for enabling maintenance (creates a.maintenance
file inpublic/
)php bin/console lch:maintenance:mode 0
for disabling maintenance (remove the.maintenance
file inpublic/
)
When maintenance mode is on, static splash html page will be served with a 503 HTTP code.
TODO
- make html file configurable
- add options
- Enhance exceptions
- ...
All versions of maintenance-bundle with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.2
symfony/framework-bundle Version ^4.2
symfony/filesystem Version ^4.2
symfony/console Version ^4.2
symfony/framework-bundle Version ^4.2
symfony/filesystem Version ^4.2
symfony/console Version ^4.2
The package lch/maintenance-bundle contains the following files
Loading the files please wait ....