serendipity_hq / bundle-features
Manage features and plans in your Symfony app.
Installs: 55 252
Dependents: 0
Suggesters: 0
Security: 0
Stars: 11
Watchers: 4
Forks: 1
Open Issues: 16
Type:symfony-bundle
Requires
- php: ^8.0
- ext-iconv: *
- ext-intl: *
- ext-json: *
- doctrine/common: ^2.5 || ^3.0
- doctrine/doctrine-bundle: ^1.8 || ^2.0
- doctrine/orm: ^2.5 || ^3.0
- serendipity_hq/component-array-writer: ^5.1 || ^6.0
- serendipity_hq/component-value-objects: ^7.1
- symfony/form: ^4.4|^5.4|^6.0|^7.0
- symfony/framework-bundle: ^4.4|^5.4|^6.0|^7.0
- symfony/options-resolver: ^4.4|^5.4|^6.0
- symfony/routing: ^4.4|^5.4|^6.0|^7.0
- symfony/translation: ^4.4|^5.4|^6.0|^7.0
- thecodingmachine/safe: ^1.0|^2.0
Requires (Dev)
- ext-ast: *
- bamarni/composer-bin-plugin: ^1.4
- phpstan/phpstan: ^1.5.6
- phpstan/phpstan-doctrine: 1.5.3
- phpstan/phpstan-phpunit: 1.4.0
- phpstan/phpstan-symfony: 1.4.10
- rector/rector: 1.2.6
- roave/security-advisories: dev-master
- serendipity_hq/component-text-matrix: ^3.0
- serendipity_hq/rector-config: ^1.0
- symfony/var-dumper: ^4.4|^5.4|^6.0|^7.0
- thecodingmachine/phpstan-safe-rule: 1.2.0
- dev-dev
- 0.12.14
- 0.12.13
- 0.12.12
- 0.12.11
- 0.12.10
- 0.12.9
- 0.12.8
- 0.12.7
- 0.12.6
- 0.12.5
- 0.12.4
- 0.12.3
- 0.12.2
- 0.12.1
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.7
- 0.9.6
- 0.9.5
- 0.9.4
- 0.9.3
- 0.9.2
- 0.9.1
- 0.9.0
- 0.8.4
- 0.8.3
- 0.8.2
- 0.8.1
- 0.8.0
- 0.7.2
- 0.7.1
- 0.7.0
- 0.6.0
- 0.5.4
- 0.5.3
- 0.5.2
- 0.5.1
- 0.5.0
- 0.4.3
- 0.4.2
- 0.4.1
- 0.4.0
- 0.3.1
- 0.2.0
- 0.1.0
- dev-master
This package is auto-updated.
Last update: 2024-12-19 16:51:21 UTC
README
Serendipity HQ Features Bundle
Features Bundle helps you manage paid features and plans in your Symfony app.
Current Status
Features
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?
LEAVE A ★
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 http://semver.org/ versioning conventions.
Documentation
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?
LEAVE A ★
or run
composer global require symfony/thanks && composer thanks
to say thank you to all libraries you use in your current project, this included!