noorisys / stripe-subscription
There is no license information available for the latest version (1.0.0) of this package.
Laravel Stripe Subscription using stripe/stripe-php
1.0.0
2023-03-24 05:27 UTC
Requires
- php: ^8.0.2
- barryvdh/laravel-dompdf: ^2.0
- stripe/stripe-php: ^10.10
This package is auto-updated.
Last update: 2025-02-24 10:06:41 UTC
README
Installation
Require this package, with Composer, in the root directory of your project.
$ composer require noorisys/stripe-subscription
Add the service provider to config/app.php
in the providers
array.
Noorisys\StripeSubscription\Providers\StripeSubscriptionServiceProvider::class,
Configuration
Laravel Stripe requires connection configuration. To get started, you'll need to publish all vendor assets:
$ php artisan vendor:publish --provider="Noorisys\StripeSubscription\Providers\StripeSubscriptionServiceProvider" --force
This will create a config/stripe.php
file in your app that you can modify to set your configuration. Also, make sure you check for changes to the original config file in this package between releases.
You are free to change the configuration file as needed, but the default expected values are below:
'STRIPE_KEY' => env('STRIPE_KEY'), 'STRIPE_SECRET' => env('STRIPE_SECRET'), 'STRIPE_CURRENCY' => env('STRIPE_CURRENCY'), 'STRIPE_WEBHOOK_SECRET' => env('STRIPE_WEBHOOK_SECRET'),
Run APIs on Postman
import postman collection via link and run APIs
https://api.postman.com/collections/18476697-2b8e4239-4264-4c5b-9ead-217e9242ef10?access_key=PMAT-01GVQH1D3EWJP761ESNDPP9J2D