selvinortiz / patrol
A Craft CMS plugin for maintenance mode and HTTPS routing.
Package info
Type:craft-plugin
pkg:composer/selvinortiz/patrol
Fund package maintenance!
Requires
- php: ^8.2
- craftcms/cms: ^5.0.0
- verbb/base: ^3.0.20
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Patrol for Craft CMS
Patrol is a Craft CMS plugin that handles two pieces of site infrastructure that should be explicit and dependable: maintenance access and canonical HTTPS routing. Put the public site offline deliberately, or keep requests on the correct secure domain.
Send public visitors to a project-owned offline page or response while your team continues to work. Access rules can account for signed-in users, IP addresses, and the routes that must remain reachable.
Features
- Take the public site offline without disabling Craft itself.
- Present a branded page or another response owned by the project.
- Let signed-in team members or approved IP addresses continue through during maintenance.
- Give an approved visitor a link that adds their current IP address to the allowlist.
- Redirect selected site requests onto a secure scheme.
- Choose whether the canonical host uses a bare or www-prefixed domain.
- Use the status code and route scope appropriate for the deployment.
Documentation
Visit the Patrol Plugin page for all documentation, guides, pricing and developer resources.
Credit & Thanks
Originally created by Selvin Ortiz.
Support
Get in touch with us via the Patrol Support page or by creating a GitHub issue.
Sponsor
Patrol is licensed under the MIT license, so it will always be free and open source. If you'd like to support it anyway, you can sponsor its development.