Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gilbitron/spark-create-stripe-plans

A simple Laravel artisan command to create Spark plans in Stripe
https://github.com/gilbitron/spark-create-stripe-plans

laravel laravel-artisan-command spark stripe

Last synced: 3 days ago
JSON representation

A simple Laravel artisan command to create Spark plans in Stripe

Awesome Lists containing this project

README

        

# Spark Create Stripe Plans
A simple Laravel artisan command to create [Spark](https://spark.laravel.com) 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](https://dashboard.stripe.com). If you
re-run the command it will not overwrite existing plans.

## Credits

Spark Create Stripe Plans was created by [Gilbert Pellegrom](https://gilbitron.me) from [Dev7studios](https://dev7studios.co). Released under the MIT license.