verbb / patrol
A Craft CMS plugin for maintenance mode and HTTPS routing.
Fund package maintenance!
Requires
- php: ^8.2
- craftcms/cms: ^5.0.0
- verbb/base: ^3.0.18
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-09-30 09:43:40 UTC
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 approved users continue 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 approved users or 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, meaning it will always be free and open source - we love free stuff! If you'd like to show your support to the plugin regardless, Sponsor development.