spathon / laravel-stripe
Minimal Laravel 5 package wrapper for Stripe SDK 3
1.0.4
2015-08-05 18:09 UTC
Requires
- illuminate/support: ~5.0
- stripe/stripe-php: ^3.1
This package is not auto-updated.
Last update: 2024-11-23 19:05:55 UTC
README
Installation
- Add
"spathon/laravel-stripe": "~1.0"
to composer.json - Run
composer update
- Add
Spathon\LaravelStripe\LaravelStripeServiceProvider::class
to providers in config/app.php - Set the stripe secret in config/services.php ( use .env for this )
Usage
All this package is doing is setting the Stripe secret key so you can use the Stripe SDK anywhere anytime.
Basicly just add use Stripe\Stripe;
Why?
I created this package mostly to learn how to make a package. Most stripe packages was for L4