terox/subscription-bundle
Composer 安装命令:
composer require terox/subscription-bundle
包简介
Symfony Bundle for manage user subscriptions
README 文档
README
SubscriptionBundle

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
- 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
-
Strategies
-
CookBooks/Examples:
- Symfony 4 example sandbox with doctrine
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.
License
This software is published under the MIT License
Contributing
I will be very happy if you want to contribute fixing some issue, providing new strategies or whatever you want. Thanks!
terox/subscription-bundle 适用场景与选型建议
terox/subscription-bundle 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 2.83k 次下载、GitHub Stars 达 11, 最近一次更新时间为 2018 年 01 月 18 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「products」 「subscription」 「plans」 「Subscription Management」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 terox/subscription-bundle 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 terox/subscription-bundle 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 terox/subscription-bundle 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Allows customers sign up for recurring and one-time payments with Stripe, perfect for orders, donations, subscriptions, and events. Create simple payment forms in seconds easily without coding. For Craft CMS 3.x
MaxAl Subscriptions is a flexible plans and subscription management system for Laravel, with the required tools to run your SAAS like services efficiently. It's simple architecture, accompanied by powerful underlying to afford solid platform for your business.
Laravel Plans is a package for SaaS apps that need management over plans, features, subscriptions, events for plans or limited, countable features.
Submodule for SilverShop which allows you to compare products in a table.
A package provide pricing plans for Laravel.
Rinvex Subscriptions is a flexible plans and subscription management system for Laravel, with the required tools to run your SAAS like services efficiently. It's simple architecture, accompanied by powerful underlying to afford solid platform for your business.
统计信息
- 总下载量: 2.83k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 11
- 点击次数: 13
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-01-18
