2017 © Pedro Peláez
 

symfony-bundle features-bundle

Manage features and plans in your Symfony app.

image

serendipity_hq/features-bundle

Manage features and plans in your Symfony app.

  • Saturday, April 7, 2018
  • by Aerendir
  • Repository
  • 1 Watchers
  • 3 Stars
  • 605 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 8 Open issues
  • 32 Versions
  • 23 % Grown

The README.md

, (*1)

Serendipity HQ Features Bundle

Features Bundle helps you manage paid features and plans in your Symfony app., (*2)

, (*3)

Supports: , (*4)

Tested with: , (*5)

, (*6)

Current Status

Coverage Maintainability Rating Quality Gate Status Reliability Rating Security Rating Technical Debt Vulnerabilities, (*7)

Phan PHPStan PSalm PHPUnit Composer PHP CS Fixer Rector, (*8)

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., (*9)


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! , (*10)


Basic usage

SerendipityHQ Features Bundle divides the features in three macro-categories:, (*11)

  • 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!)., (*12)

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., (*13)

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

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., (*15)

Grouping features in sets you can manage them in an easier way., (*16)

Those are the very base concepts to understand and are the core of the internal working of the Serendipity HQ Features Bundle., (*17)

Read more in the documentation to better understand how all this work toward your feature management in your app., (*18)

Install Serendipity HQ Features Bundle via Composer

$ composer require serendipity_hq/bundle-features

This library follows the http://semver.org/ versioning conventions., (*19)

Documentation

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

Inspiration for future features, (*21)

  • https://github.com/yannickl88/features-bundle
  • https://github.com/DZunke/FeatureFlagsBundle

Some other information, (*22)

  • http://stackoverflow.com/questions/7707383/what-is-a-feature-flag

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! , (*23)


The Versions