gilbitron / spark-create-stripe-plans
一个简单的Laravel artisan命令,用于在Stripe中创建Spark计划
1.0.5
2019-10-01 08:03 UTC
Requires
- laravel/framework: 5.*
- stripe/stripe-php: 4.*|5.*|6.*
README
一个简单的Laravel artisan命令,用于在Spark中创建Stripe计划。
安装
运行以下命令安装库
composer require gilbitron/spark-create-stripe-plans
接下来,您需要将以下内容添加到您的config/app.php
文件中的providers
数组中
Gilbitron\Laravel\Spark\CreateStripePlansServiceProvider::class
用法
确保您的详细信息已在SparkServiceProvider
中设置,然后运行
php artisan spark:create-stripe-plans
您的计划现在应该可在您的Stripe仪表板中找到。如果您再次运行命令,它不会覆盖现有计划。
致谢
Spark Create Stripe Plans由Gilbert Pellegrom(来自Dev7studios)创建。在MIT许可证下发布。