2017 © Pedro PelĂĄez
 

symfony-bundle subscription-bundle

Symfony Bundle for manage user subscriptions

image

terox/subscription-bundle

Symfony Bundle for manage user subscriptions

  • Wednesday, March 28, 2018
  • by terox
  • Repository
  • 2 Watchers
  • 1 Stars
  • 267 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 39 % Grown

The README.md

SubscriptionBundle Build Status Code Coverage, (*1)

Scrutinizer Code Quality

SubscriptionBundleLogo, (*2)

SubscriptionBundle helps you to create and manage subscriptions services (also known as plans) for your users in your application., (*3)

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

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

Compatible * Symfony 3.3+/4+ applications with Doctrine, (*6)

Documentation

Quick start

1. Download the bundle:

$ composer require terox/subscription-bundle

2. Enable the bundle in Symfony Application (only Symfony 3+):

<?php
// app/AppKernel.php

// ...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...
            new Terox\SubscriptionBundle\TeroxSubscriptionBundle(),
        );
    }

    // ...
}

3. Configure the bundle:

terox_subscription:
    # Where is the subscription model located in your application
    # Remember that your model must implement the interface
    subscription_class: AppBundle\Entity\Subscription # Interface: Terox\SubscriptionBundle\Model\SubscriptionInterface

    # Repository services name
    # Remember that repositories must be implement the interfaces
    subscription_repository: app.repository.subscription # Interface: Terox\SubscriptionBundle\Repository\SubscriptionRepositoryInterface
    product_repository: app.repository.product           # Interface: Terox\SubscriptionBundle\Repository\ProductRepositoryInterface

Read the complete configuration reference for more configuration options or tweaks., (*11)

License

This software is published under the MIT License, (*12)

Contributing

I will be very happy if you want to contribute fixing some issue, providing new strategies or whatever you want. Thanks!, (*13)

The Versions

28/03 2018

dev-master

9999999-dev https://github.com/terox/SubscriptionBundle

Symfony Bundle for manage user subscriptions

  Sources   Download

MIT

The Requires

 

The Development Requires

by David PĂ©rez Terol

subscription products plans subscription management

28/03 2018

0.2.0

0.2.0.0 https://github.com/terox/SubscriptionBundle

Symfony Bundle for manage user subscriptions

  Sources   Download

MIT

The Requires

 

The Development Requires

by David PĂ©rez Terol

subscription products plans subscription management

04/02 2018

0.1.2

0.1.2.0 https://github.com/terox/SubscriptionBundle

Symfony Bundle for manage user subscriptions

  Sources   Download

MIT

The Requires

 

The Development Requires

by David PĂ©rez Terol

subscription products plans subscription management

04/02 2018

0.1.1

0.1.1.0 https://github.com/terox/SubscriptionBundle

Symfony Bundle for manage user subscriptions

  Sources   Download

MIT

The Requires

 

The Development Requires

by David PĂ©rez Terol

subscription products plans subscription management

18/01 2018

0.1.0

0.1.0.0 https://github.com/terox/SubscriptionBundle

Symfony Bundle for manage user subscriptions

  Sources   Download

MIT

The Requires

 

The Development Requires

by David PĂ©rez Terol

subscription products plans subscription management