Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/terox/subscriptionbundle
Manage subscriptions services (also known as plans) for your users in your Symfony 3.3+/4+ applications
https://github.com/terox/subscriptionbundle
symfony symfony-bundle symfony3 symfony4
Last synced: about 1 month ago
JSON representation
Manage subscriptions services (also known as plans) for your users in your Symfony 3.3+/4+ applications
- Host: GitHub
- URL: https://github.com/terox/subscriptionbundle
- Owner: terox
- License: mit
- Created: 2017-08-29T10:01:28.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-02-02T21:34:47.000Z (almost 5 years ago)
- Last Synced: 2024-09-30T16:02:57.479Z (about 2 months ago)
- Topics: symfony, symfony-bundle, symfony3, symfony4
- Language: PHP
- Homepage:
- Size: 117 KB
- Stars: 11
- Watchers: 3
- Forks: 7
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
SubscriptionBundle
[![Build Status](https://travis-ci.org/terox/SubscriptionBundle.svg?branch=master)](https://travis-ci.org/terox/SubscriptionBundle)
[![Code Coverage](https://scrutinizer-ci.com/g/terox/SubscriptionBundle/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/terox/SubscriptionBundle/?branch=master)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/terox/SubscriptionBundle/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/terox/SubscriptionBundle/?branch=master)
==================> SubscriptionBundle helps you to create and manage subscriptions services (also known as plans) for your users in your application.
The SubscriptionBundle fits perfectly in your Symfony application and your models. It don't cares about what persistence
layer are you using (a [http://www.doctrine-orm.org](Doctrine), [http://www.redis.io](Redis)...); it only provides an easy
and solid base where start to handle this type of products in your Symfony applications.**Features**
* Trying to maintain a easy, solid, well-documented and **agnostic** base to start to work without headaches.
* Many actions allowed on to subscriptions: *active*, *expire*, *disable* and *renew* with his appropriate events.
* **Extensible**: you can extend and change the out-of-the-box features creating your own strategies that determine how
a subscription should be handled to fit to your requirements.**Compatible**
* Symfony 3.3+/4+ applications with Doctrine
Documentation
-------------* [Quick Start](#quick-start)
* [Guide](https://github.com/terox/SubscriptionBundle/blob/master/doc/Guide.md)
* Strategies
* Product strategies:
* [What is a product strategy](https://github.com/terox/SubscriptionBundle/blob/master/doc/WhatIsProductStrategy.md)
* [How to create a product strategy](https://github.com/terox/SubscriptionBundle/blob/master/doc/HowToCreateAProductStrategy.md])
* [Out-of-the-box strategies](https://github.com/terox/SubscriptionBundle/blob/master/doc/strategies/product):
* [Default product strategy](https://github.com/terox/SubscriptionBundle/blob/master/doc/strategies/product/DefaultStrategy.md)
* Subscription strategies:
* [What is a subscription strategy](https://github.com/terox/SubscriptionBundle/blob/master/doc/WhatIsAProductStrategy.md)
* [How to create a subscription strategy](https://github.com/terox/SubscriptionBundle/blob/master/doc/HowToCreateASubscriptionStrategy.md)
* [Out-of-the-box strategies](https://github.com/terox/SubscriptionBundle/blob/master/doc/strategies/subscription):
* [End Last Strategy](https://github.com/terox/SubscriptionBundle/blob/master/doc/strategies/subscription/EndLastStrategy.md)* CookBooks/Examples:
* [Symfony 4 example sandbox](https://github.com/terox/sf4-subscription-example) with doctrineQuick start
-----------### 1. Download the bundle:
```bash
$ composer require terox/subscription-bundle
```### 2. Enable the bundle in Symfony Application (only Symfony 3+):
```php