gilbitron / spark-create-stripe-plans
A simple Laravel artisan command to create Spark plans in Stripe
Installs: 10 670
Dependents: 0
Suggesters: 0
Security: 0
Stars: 18
Watchers: 5
Forks: 8
Open Issues: 3
Requires
- laravel/framework: 5.*
- stripe/stripe-php: 4.*|5.*|6.*
README
A simple Laravel artisan command to create Spark plans in Stripe.
Install
Require the library by running:
composer require gilbitron/spark-create-stripe-plans
Next you need to add the following to your providers
array in config/app.php
:
Gilbitron\Laravel\Spark\CreateStripePlansServiceProvider::class
Usage
Make sure your details and plans are set up in your SparkServiceProvider
then run:
php artisan spark:create-stripe-plans
Your plans should now be available in your Stripe dashboard. If you re-run the command it will not overwrite existing plans.
Credits
Spark Create Stripe Plans was created by Gilbert Pellegrom from Dev7studios. Released under the MIT license.