marqant-lab / marqant-pay-subscriptions
marqant/marqant-pay 包的扩展包,通过订阅提供周期性计费。
v0.1.0
2021-02-18 15:58 UTC
Requires
- marqant-lab/marqant-pay: ~0.1.0
- dev-master
- v0.1.0
- v0.0.18
- v0.0.17
- v0.0.16
- v0.0.15
- v0.0.14
- v0.0.13
- v0.0.12
- v0.0.11
- v0.0.10
- v0.0.9
- v0.0.8
- v0.0.7
- v0.0.6
- v0.0.5
- v0.0.4
- v0.0.3
- v0.0.2
- v0.0.1
- dev-development
- dev-feature/tjv/chargeable-subscriptions
- dev-feature/dsv/Github-billable-config
- dev-feature/tjv/manual-subscriptions
- dev-bugfix/tjv/fix-hasPaymentMethod-method
- dev-feature/tjv/setup-pdf-invoices
- dev-feature/tjv/3d-secure-and-additional-authentication
- dev-feature/tjv/add-subscriptions-graphql
- dev-feature/tjv/invoice-query
- dev-feature/tjv/add-plans-and-subscriptions
- dev-feature/tjv/change-composer-vendor-name
This package is auto-updated.
Last update: 2024-09-19 00:11:52 UTC
README
本包是 marqant-lab/marqant-pay 包的扩展,为它提供订阅功能。
安装
要安装此包,您只需运行大家熟悉的 composer 命令。
composer require marqant-lab/marqant-pay-subscriptions
接下来,您需要创建迁移来将此包与您的数据库连接。请确保将 User
模型替换为您使用的可计费模型。其余值将来自本包的配置。如果您想,可以覆盖它们。
php artisan marqant-pay:migrations:subscriptions App\\User # or php artisan marqant-pay:migrations:subscriptions "App\\User"
现在您可以像往常一样运行迁移,以完成安装。
php artisan migrate
就这样,您已经通过订阅扩展了您的项目 🤯