gilbitron/spark-create-stripe-plans

一个简单的Laravel artisan命令,用于在Stripe中创建Spark计划

1.0.5 2019-10-01 08:03 UTC

This package is auto-updated.

Last update: 2024-08-29 03:36:20 UTC


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许可证下发布。