Manage features and plans in your Symfony app.

Installs: 15 818

Dependents: 0

Suggesters: 0

Security: 0

Stars: 7

Watchers: 2

Forks: 0

Open Issues: 22


0.12.5 2022-01-12 12:12 UTC



Serendipity HQ Features Bundle

Features Bundle helps you manage paid features and plans in your Symfony app.

68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736572656e6469706974795f68712f62756e646c652d66656174757265732e7376673f7374796c653d666c61742d737175617265 68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265 68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f736572656e6469706974795f68712f62756e646c652d66656174757265733f636f6c6f723d253233383839324246267374796c653d666c61742d737175617265266c6f676f3d706870

Supports: 68747470733a2f2f696d672e736869656c64732e696f2f62616467652f53796d666f6e792d253545342e342d3333333f7374796c653d666c61742d737175617265266c6f676f3d73796d666f6e79 68747470733a2f2f696d672e736869656c64732e696f2f62616467652f53796d666f6e792d253545352e342d3333333f7374796c653d666c61742d737175617265266c6f676f3d73796d666f6e79 68747470733a2f2f696d672e736869656c64732e696f2f62616467652f53796d666f6e792d253545362e302d3333333f7374796c653d666c61742d737175617265266c6f676f3d73796d666f6e79

Tested with: 68747470733a2f2f696d672e736869656c64732e696f2f62616467652f53796d666f6e792d253545342e342d3333333f7374796c653d666c61742d737175617265266c6f676f3d73796d666f6e79 68747470733a2f2f696d672e736869656c64732e696f2f62616467652f53796d666f6e792d253545352e342d3333333f7374796c653d666c61742d737175617265266c6f676f3d73796d666f6e79 68747470733a2f2f696d672e736869656c64732e696f2f62616467652f53796d666f6e792d253545362e302d3333333f7374796c653d666c61742d737175617265266c6f676f3d73796d666f6e79

68747470733a2f2f696d672e736869656c64732e696f2f62616467652f53756767657374732d6578742d2d69636f6e762d2532333838393242463f7374796c653d666c61742d737175617265266c6f676f3d706870 68747470733a2f2f696d672e736869656c64732e696f2f62616467652f53756767657374732d6578742d2d696e746c2d2532333838393242463f7374796c653d666c61742d737175617265266c6f676f3d706870 68747470733a2f2f696d672e736869656c64732e696f2f62616467652f53756767657374732d6578742d2d6a736f6e2d2532333838393242463f7374796c653d666c61742d737175617265266c6f676f3d706870 68747470733a2f2f696d672e736869656c64732e696f2f62616467652f53756767657374732d736572656e6469706974795f5f68712f636f6d706f6e656e742d2d746578742d2d6d61747269782d2532333838393242463f7374796c653d666c61742d737175617265

Current Status

Coverage Maintainability Rating Quality Gate Status Reliability Rating Security Rating Technical Debt Vulnerabilities

Phan PHPStan PSalm PHPUnit Composer PHP CS Fixer Rector


Serendipity HQ Features Bundle gives you the ability to configure the features you need to manage, give them a price if they are premium ones, create invoices for them and save subscriptions and configurations associated to your entities to give each of your users only the features they have to get.

Do you like this bundle?

or run
composer global require symfony/thanks && composer thanks
to say thank you to all libraries you use in your current project, this included!

Basic usage

SerendipityHQ Features Bundle divides the features in three macro-categories:

  • Boolean features: are features or configurations that can be switched on or off. For example, "send an e-mail on [event_name]".
  • Countable Features: are features that can be increased or decreased in number. For example, the number of users that can be added.
  • Rechargeable Features: Are features of which it is possible to run out. For example, "You have X invites left".

These are the three main categories in which all kind of features or configurations can fall in (if you find other macro categories, feel free to suggest them in the issues!).

These features can be configured in your configuration file and then can be managed through your app to make it able to do some things or not to do things.

Features are grouped in sets, this way you can better manage your features without going crazy and without be confused.

For example, lets say you are building a project management app, you may want to have a set of features for the profile of each user and a set of features specific for projects.

Grouping features in sets you can manage them in an easier way.

Those are the very base concepts to understand and are the core of the internal working of the Serendipity HQ Features Bundle.

Read more in the documentation to better understand how all this work toward your feature management in your app.

Install Serendipity HQ Features Bundle via Composer

$ composer require serendipity_hq/bundle-features

This library follows the versioning conventions.


You can read how to install, configure, test and use the SerendipityHQ Features Bundle in the documentation.

Inspiration for future features

Some other information

Do you like this bundle?

or run
composer global require symfony/thanks && composer thanks
to say thank you to all libraries you use in your current project, this included!