dzangocart / subscription-bundle
Symfony2 bundle for dzangocart subscription accounts
Installs: 111
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 2
Open Issues: 0
Type:symfony-bundle
Requires
- propel/propel-bundle: ^1.4
- symfony/symfony: ^2.4
Requires (Dev)
- phpunit/phpunit: ^4.6||^5.4
README
Symfony 2 bundle for dzangocart subscription accounts
Features
- Declare your entities to be subscription-type products
- Manage different pricing plans and their features
- Display a pricing page on your web site
- Easy links to your dzangocart store
Requirements
While this bundle is primarily intended for owners of a Dzangocart store, most of its feature can still be used by anyone.
Installation
Add the following to your project's composer.json
file:
{
require: {
"dzangocart/subscription-bundle": "dev-master"
}
}
Register the bundle:
#app/AppKernel.php
public function registerBundles()
{
$bundles = array(
…
new DzangocartSubscriptionBundle()
);
return $bundles;
}
If you are using assetic, add the bundle to the assetic configuration:
#config.yml
assetic:
DzangocartSubscriptionBundle
Configuration
TODO
Usage
TODO
Fixtures
For your convenience, several fixtures are included in the bundle, under Resources\fixtures
.
Some of these fixtures only have demonstration value (plans, features) but others like units and periods, may be of some practical use. To load the fixtures into your database using propel:
php app/console propel:fixtures:load @DzangocartSubscriptionBundle