PHPackages                             millipress/acorn-millirules - 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. millipress/acorn-millirules

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

millipress/acorn-millirules
===========================

Acorn integration for MilliRules — route-aware conditions, actions &amp; rules with CLI management

v1.1.0(3mo ago)1244[1 PRs](https://github.com/MilliPress/Acorn-MilliRules/pulls)GPL-2.0-or-laterPHPPHP &gt;=8.1CI passing

Since Feb 13Pushed 2mo agoCompare

[ Source](https://github.com/MilliPress/Acorn-MilliRules)[ Packagist](https://packagist.org/packages/millipress/acorn-millirules)[ RSS](/packages/millipress-acorn-millirules/feed)WikiDiscussions main Synced today

READMEChangelog (2)Dependencies (12)Versions (7)Used By (0)

Acorn MilliRules
================

[](#acorn-millirules)

[MilliRules](https://github.com/MilliPress/MilliRules) integration for [Acorn](https://roots.io/acorn/) — route-aware conditions, HTTP response actions, CLI commands, and automatic rule discovery for your WordPress sites powered by the [Roots.io Stack](https://roots.io/).

Requirements
------------

[](#requirements)

RequirementVersionPHP&gt;= 8.1Roots Acorn^4.0 | ^5.0 | ^6.0MilliRules^1.0 (auto-installed)Quick Start
-----------

[](#quick-start)

```
composer require millipress/acorn-millirules
```

Scaffold your first rule:

```
wp acorn rules:make:rule RedirectLegacyPages
```

This creates `app/Rules/RedirectLegacyPages.php` with a ready-to-edit rule class that is auto-discovered by the service provider.

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

[](#documentation)

Full documentation is available at **[millipress.com/docs/acorn-millirules](https://millipress.com/docs/acorn-millirules/)** or in the [`docs/`](docs/) directory:

- [Introduction](docs/01-getting-started/01-introduction.md)
- [Installation](docs/01-getting-started/02-installation.md)
- [Creating Rules](docs/02-usage/01-creating-rules.md)
- [Conditions &amp; Actions](docs/02-usage/02-conditions-and-actions.md)
- [Artisan Commands](docs/02-usage/03-artisan-commands.md)
- [Custom Conditions &amp; Actions](docs/03-customization/01-custom-conditions-and-actions.md)
- [Configuration](docs/03-customization/02-configuration.md)
- [Reference: Conditions](docs/04-reference/01-conditions.md) · [Actions](docs/04-reference/02-actions.md) · [Route Context](docs/04-reference/03-route-context.md)

Related
-------

[](#related)

- **[MilliRules](https://github.com/MilliPress/MilliRules)** — the core rule engine (pure PHP, framework-agnostic)
- **[millipress.com](https://millipress.com)** — MilliPress documentation and resources for MilliRules and MilliCache

License
-------

[](#license)

GPL-2.0-or-later

###  Health Score

42

—

FairBetter than 88% of packages

Maintenance84

Actively maintained with recent releases

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 88.9% 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 ~46 days

Total

2

Last Release

94d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b1119667d96ab4063e83fd0cd4797ec2e010d86e24e1a4bec13ce9cc5f5b045f?d=identicon)[ouun](/maintainers/ouun)

---

Top Contributors

[![ouun](https://avatars.githubusercontent.com/u/32090713?v=4)](https://github.com/ouun "ouun (40 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (3 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/millipress-acorn-millirules/health.svg)

```
[![Health](https://phpackages.com/badges/millipress-acorn-millirules/health.svg)](https://phpackages.com/packages/millipress-acorn-millirules)
```

###  Alternatives

[generoi/sage-woocommerce

175285.7k5](/packages/generoi-sage-woocommerce)[supermundano/sage-the-events-calendar

1725.8k](/packages/supermundano-sage-the-events-calendar)[mwdelaney/sage-fonts-preload

Automatically preload fonts from the Sage mix manifest

188.5k](/packages/mwdelaney-sage-fonts-preload)[tombroucke/sage-bootstrap-components

Bootstrap 4 components for Sage

113.1k1](/packages/tombroucke-sage-bootstrap-components)

PHPackages © 2026

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