| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
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, http://www.redis.io...); it only provides an easy and solid base where start to handle this type of products in your Symfony applications.
Features
Compatible
Strategies
CookBooks/Examples:
$ composer require shapecode/subscription-bundle<?php
// app/AppKernel.php
// ...
class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = array(
// ...
new Shapecode\SubscriptionBundle\ShapecodeSubscriptionBundle(),
);
}
// ...
}shapecode_subscription:
# Where is the subscription model located in your application
# Remember that your model must implement the interface
subscription_class: AppBundle\Entity\Subscription # Interface: Shapecode\SubscriptionBundle\Model\SubscriptionInterface
# Repository services name
# Remember that repositories must be implement the interfaces
subscription_repository: app.repository.subscription # Interface: Shapecode\SubscriptionBundle\Repository\SubscriptionRepositoryInterface
product_repository: app.repository.product # Interface: Shapecode\SubscriptionBundle\Repository\ProductRepositoryInterfaceRead the complete configuration reference for more configuration options or tweaks.
This software is published under the MIT License
I will be very happy if you want to contribute fixing some issue, providing new strategies or whatever you want. Thanks!
Porject forked from terox/SubscriptionBundle
| Back | FazBrowse Home | New Git URL |