Download the PHP package daycode/curtain without Composer
On this page you can find all versions of the php package daycode/curtain. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package curtain
Enhanced Laravel Maintenance Mode Handler
Curtain is a powerful Laravel package that enhances your application's maintenance mode functionality. Instead of the basic maintenance page, Curtain provides beautiful templates, countdown timers, IP whitelisting, and more flexible control over your maintenance mode.
Features
-
🎨 Beautiful Templates
- Multiple pre-built templates
- Customizable designs
- Support for custom templates
- Modern, responsive layouts
-
⏲️ Countdown Timer
- Auto-disable maintenance mode
- Real-time countdown display
- Automatic page refresh
- Configurable durations
-
🔒 Advanced Access Control
- IP address whitelisting
- Path exclusions with wildcard support
- Bypass token generation
- Flexible middleware system
- 🛠️ Developer Friendly
- Simple command-line interface
- Preview maintenance pages
- Easy configuration
- Extensible architecture
Quick Installation
- Install the package via Composer:
bash
php artisan vendor:publish --provider="Daycode\Curtain\CurtainServiceProvider"
bash
php artisan curtain:preview --template=modern --timer="30 minutes"
bash
php artisan curtain:down
bash
Enable with options
php artisan curtain:up [options]
Available options:
--timer="2 hours" # Set duration --message="text" # Custom message --template="modern" # Select template --refresh # Enable auto-refresh --secret="token" # Custom bypass token
Disable maintenance mode
php artisan curtain:down
Preview maintenance page
php artisan curtain:preview [options] bash composer test
## Contributing
Please see [CONTRIBUTING.md](CONTRIBUTING.md) for details on contributing to Curtain.
## Security
If you discover any security-related issues, please email [email protected] instead of using the issue tracker.
## Credits
- [Daycode](https://github.com/dayCod)
- [All Contributors](../../contributors)
## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.