PHPackages                             verbb/patrol - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. verbb/patrol

ActiveCraft-plugin[Utility &amp; Helpers](/categories/utility)

verbb/patrol
============

Easy maintenance mode and smart HTTPS routing.

6.0.1(10mo ago)299.2k↑83.3%8[1 issues](https://github.com/verbb/patrol/issues)MITPHPPHP ^8.2

Since Feb 2Pushed 3mo ago5 watchersCompare

[ Source](https://github.com/verbb/patrol)[ Packagist](https://packagist.org/packages/verbb/patrol)[ GitHub Sponsors](https://github.com/verbb)[ RSS](/packages/verbb-patrol/feed)WikiDiscussions craft-5 Synced 1mo ago

READMEChangelog (10)Dependencies (2)Versions (21)Used By (0)

[![Patrol icon](https://camo.githubusercontent.com/781db41b17022f0a1fabe43340cda9c98ea48d6f4801ce127105b473345d82da/68747470733a2f2f6173736574732e76657262622e696f2f706c7567696e732f706174726f6c2f706174726f6c2d69636f6e2e737667)](https://camo.githubusercontent.com/781db41b17022f0a1fabe43340cda9c98ea48d6f4801ce127105b473345d82da/68747470733a2f2f6173736574732e76657262622e696f2f706c7567696e732f706174726f6c2f706174726f6c2d69636f6e2e737667)

Patrol for Craft CMS
====================

[](#patrol-for-craft-cms)

Patrol is a Craft CMS plugin for easy maintenance mode and smart HTTPS routing.

Features
--------

[](#features)

### HTTPS Routing 👮‍

[](#https-routing-‍)

- Force HTTPS (server agnostic)
- Force a Primary Domain (naked domain vs www prefixed)
- Define where HTTPS is enforced (if not globally)
- Control the best redirect status code for your use case

### Maintenance Mode 🚧

[](#maintenance-mode-)

- Put your site on maintenance mode
- Define who can access the site while offline
- Reroute guests to an offline page (or custom response)

Documentation
-------------

[](#documentation)

Visit the [Patrol Plugin page](https://verbb.io/craft-plugins/patrol) for all documentation, guides, pricing and developer resources.

Credit &amp; Thanks
-------------------

[](#credit--thanks)

Originally created by [Selvin Ortiz](https://github.com/selvindev).

Support
-------

[](#support)

Get in touch with us via the [Patrol Support page](https://verbb.io/craft-plugins/patrol/support) or by [creating a Github issue](https://github.com/verbb/patrol/issues)

Sponsor
-------

[](#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](https://github.com/sponsors/verbb) development.

[ ![Verbb](https://camo.githubusercontent.com/98f2680f5948987cd8f4b418d67159eb0befb6da92060f286671b05bf39d40bd/68747470733a2f2f76657262622e696f2f6173736574732f696d672f76657262622d70696c6c2e737667)](https://verbb.io)

###  Health Score

56

—

FairBetter than 98% of packages

Maintenance67

Regular maintenance activity

Popularity35

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity85

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 50.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~193 days

Total

17

Last Release

304d ago

Major Versions

3.1.3 → 4.0.02022-07-26

4.0.1 → 5.0.02022-07-26

4.0.2 → 5.0.22023-05-27

5.0.2 → 6.0.0-beta.12024-03-04

5.0.3 → 6.0.12025-07-18

PHP version history (2 changes)5.0.0PHP ^8.0.2

6.0.0-beta.1PHP ^8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/26374352?v=4)[Verbb](/maintainers/verbb)[@verbb](https://github.com/verbb)

---

Top Contributors

[![engram-design](https://avatars.githubusercontent.com/u/1221575?v=4)](https://github.com/engram-design "engram-design (42 commits)")[![selvinortiz](https://avatars.githubusercontent.com/u/1922523?v=4)](https://github.com/selvinortiz "selvinortiz (32 commits)")[![chrisrowe](https://avatars.githubusercontent.com/u/220456?v=4)](https://github.com/chrisrowe "chrisrowe (2 commits)")[![tmulry](https://avatars.githubusercontent.com/u/4219434?v=4)](https://github.com/tmulry "tmulry (2 commits)")[![brandonkelly](https://avatars.githubusercontent.com/u/47792?v=4)](https://github.com/brandonkelly "brandonkelly (2 commits)")[![CustomCodeIT](https://avatars.githubusercontent.com/u/66106520?v=4)](https://github.com/CustomCodeIT "CustomCodeIT (1 commits)")[![simonda86](https://avatars.githubusercontent.com/u/495114?v=4)](https://github.com/simonda86 "simonda86 (1 commits)")[![bleepsandblops](https://avatars.githubusercontent.com/u/1942313?v=4)](https://github.com/bleepsandblops "bleepsandblops (1 commits)")

---

Tags

craftcmscraftcms-plugincmsCraftcraftcmscraft-pluginpatrol

### Embed Badge

![Health badge](/badges/verbb-patrol/health.svg)

```
[![Health](https://phpackages.com/badges/verbb-patrol/health.svg)](https://phpackages.com/packages/verbb-patrol)
```

###  Alternatives

[verbb/navigation

Create navigation menus for your site.

90683.7k17](/packages/verbb-navigation)[verbb/formie

The most user-friendly forms plugin for Craft.

101372.9k40](/packages/verbb-formie)[verbb/comments

Add comments to your site.

13753.1k](/packages/verbb-comments)[verbb/field-manager

Manage your fields and field groups with ease.

197607.5k10](/packages/verbb-field-manager)[verbb/tablemaker

Create customizable and user-defined table fields.

40168.8k1](/packages/verbb-tablemaker)[supercool/tablemaker

Create customizable and user-defined table fields.

40141.7k](/packages/supercool-tablemaker)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
