Download the PHP package azmolla/maintenance-mode without Composer
On this page you can find all versions of the php package azmolla/maintenance-mode. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download azmolla/maintenance-mode
More information about azmolla/maintenance-mode
Files in azmolla/maintenance-mode
Package maintenance-mode
Short Description Laravel Maintenance Mode Extension with Database Configuration
License MIT
Homepage https://github.com/AbiruzzamanMolla/maintenance-mode-laravel
Informations about the package maintenance-mode
Maintenance Mode for Laravel
This package provides a simple way to enable and disable maintenance mode for your Laravel application.
Version
Installation
You can install the package via composer:
Configuration
After installing the package, publish the configuration file and assets:
This will publish the configuration file to config/maintenance-mode.php, the views to resources/views/vendor/maintenance-mode, and the assets to public/vendor/maintenance-mode.
Usage
Middleware
Add the maintenance-mode middleware to your web middleware group in app/Http/Kernel.php:
Routes
The package provides routes for managing maintenance mode settings. These routes are defined in src/routes/web.php:
Views
The package provides views for displaying and managing maintenance mode settings. These views are located in src/resources/views.
Database
The package includes a migration for creating the maintenance_mode table. Run the migration:
Commands
The package provides a command for publishing resources:
Change Log
v1.0.0
- Initial release
License
This package is open-sourced software licensed under the MIT license.
Author
Contributing
Feel free to submit issues or pull requests. For major changes, please open an issue first to discuss what you would like to change.
Support
If you have any questions or need support, please open an issue on the GitHub repository.
All versions of maintenance-mode with dependencies
laravel/framework Version ^9.0|^10.0|^11.0|^12.0
illuminate/support Version ^9.0|^10.0|^11.0|^12.0