ambrion / evocms-feature-flags
Feature Flags module for EvolutionCMS CE 3 with rules engine, A/B testing and analytics
Package info
github.com/Ambrion/evocms-feature-flags
Type:evolutioncms-package
pkg:composer/ambrion/evocms-feature-flags
v0.1.0-alpha
2026-05-14 12:49 UTC
Requires
- php: ^8.3
- ambrion/feature-flags-core: ^1.4@alpha
Requires (Dev)
- phpunit/phpunit: ^12.0
This package is auto-updated.
Last update: 2026-05-14 12:50:40 UTC
README
π·πΊ Π ΡΡΡΠΊΠΈΠΉ | π¬π§ English
π© Feature Flags for EvolutionCMS CE 3
Manage feature flags with rules engine, statistics, and A/B testing β built for EvolutionCMS CE 3.
π¦ 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
| Requirement | Version | Notes |
|---|---|---|
| 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 (
readonlyclasses, typed properties, match expressions). PHP 8.1β8.2 are not supported.
βοΈ Quick Start
- Open Manager β Modules β Feature Flags in EvolutionCMS admin panel
- Create your first feature flag
- Use in your snippets:
if ($flags->isEnabled('my_flag', context: ['user_role' => 'manager'])) { // show the feature }
π― 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 & 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
π¬ Support
- π Bug reports: GitHub Issues
- βοΈ Email: ping@ambrion.dev
- π¬ Telegram: @ambrion_dev
π License
MIT Β© Ambrion
π‘ Note: For Russian documentation, see README.ru.md.