PHPackages                             ambrion/evocms-feature-flags - 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. ambrion/evocms-feature-flags

ActiveEvolutioncms-package[Utility &amp; Helpers](/categories/utility)

ambrion/evocms-feature-flags
============================

Feature Flags module for EvolutionCMS CE 3 with rules engine, A/B testing and analytics

v0.1.1-alpha(2w ago)093MITPHPPHP ^8.3

Since May 14Pushed 2w agoCompare

[ Source](https://github.com/Ambrion/evocms-feature-flags)[ Packagist](https://packagist.org/packages/ambrion/evocms-feature-flags)[ RSS](/packages/ambrion-evocms-feature-flags/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (2)Versions (3)Used By (0)

[🇷🇺 Русский](README.ru.md) | [🇬🇧 English](README.md)

🚩 Feature Flags for EvolutionCMS CE 3
=====================================

[](#-feature-flags-for-evolutioncms-ce-3)

Manage feature flags with rules engine, statistics, and A/B testing — built for EvolutionCMS CE 3.

📦 Installation
--------------

[](#-installation)

```
cd /core
php artisan package:installrequire ambrion/evocms-feature-flags "v0.1.0-alpha"
php artisan vendor:publish --provider="EvolutionCMS\FeatureFlags\FeatureFlagsServiceProvider"
php artisan migrate
```

⚙️ Requirements
---------------

[](#️-requirements)

RequirementVersionNotes**PHP**`^8.3`Required for typed properties and readonly classes**EvolutionCMS CE**`≥3.1.30`Tested on v3.1.30; may work on earlier 3.x versions**Composer**`^2.0`For package installation and dependency management> 💡 **Note**: The module uses modern PHP 8.3 features (`readonly` classes, typed properties, match expressions). PHP 8.1–8.2 are **not supported**.

⚙️ Quick Start
--------------

[](#️-quick-start)

1. Open **Manager → Modules → Feature Flags** in EvolutionCMS admin panel
2. Create your first feature flag
3. Use in your snippets:

```
if ($flags->isEnabled('my_flag', context: ['user_role' => 'manager'])) {
    // show the feature
}
```

🎯 Key Features
--------------

[](#-key-features)

- ✅ **Rule-based evaluation**: Enable features by user role, document category, date, percentage, and more
- ✅ **A/B Testing**: Split traffic between variants with deterministic user assignment
- ✅ **Statistics &amp; Analytics**: Track flag evaluations, export data, visualize distributions
- ✅ **Admin UI**: Manage flags directly in EvolutionCMS manager — no config file edits needed
- ✅ **TDD-friendly**: Domain-driven design, fully testable without Evo bootstrap

🔗 Documentation
---------------

[](#-documentation)

- [Feature Flags Core (engine)](https://github.com/Ambrion/feature-flags-core)
- [Author's website](https://ambrion.dev/?site=FeatureFlags)
- [Telegram channel (RU)](https://t.me/ambrion_dev)

📬 Support
---------

[](#-support)

- 🐛 Bug reports: [GitHub Issues](https://github.com/Ambrion/evocms-feature-flags/issues)
- ✉️ Email:
- 💬 Telegram: [@ambrion\_dev](https://t.me/ambrion_dev)

📜 License
---------

[](#-license)

MIT © [Ambrion](https://ambrion.dev)

---

> 💡 **Note**: For Russian documentation, see [README.ru.md](README.ru.md).

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance96

Actively maintained with recent releases

Popularity14

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 Bus Factor1

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

Total

2

Last Release

18d ago

### Community

Maintainers

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

---

Top Contributors

[![Ambrion](https://avatars.githubusercontent.com/u/31336547?v=4)](https://github.com/Ambrion "Ambrion (21 commits)")

---

Tags

TDDdddfeature-flagsab-testingevolutioncms

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ambrion-evocms-feature-flags/health.svg)

```
[![Health](https://phpackages.com/badges/ambrion-evocms-feature-flags/health.svg)](https://phpackages.com/packages/ambrion-evocms-feature-flags)
```

###  Alternatives

[ylsideas/feature-flags

A Laravel package for handling feature flags

6231.4M4](/packages/ylsideas-feature-flags)[prooph/service-bus

PHP Enterprise Service Bus Implementation supporting CQRS and DDD

4421.4M32](/packages/prooph-service-bus)[ecotone/ecotone

Enterprise architecture layer for Laravel and Symfony — CQRS, Event Sourcing, Durable Workflows (Sagas, Orchestrators), Projections, and Outbox messaging via PHP attributes.

562565.8k41](/packages/ecotone-ecotone)[prooph/event-sourcing

PHP EventSourcing library

266818.8k18](/packages/prooph-event-sourcing)[flagception/flagception-bundle

Feature toggle bundle on steroids.

324.0M](/packages/flagception-flagception-bundle)[phpmentors/domain-kata

Kata for domain models

73441.4k9](/packages/phpmentors-domain-kata)

PHPackages © 2026

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