let’s install stripe in our laravel app, here I will install it using composer.
Make sure that after the required changes your composer.json file is valid by running command in cmd
Run Composer to install or update the new requirement.
When done installation process then after open your .env file and set following value for your Stripe account
Set following two line in your config/app.php
‘providers’ => [ …. Cartalyst\Stripe\Laravel\StripeServiceProvider::class, ], ‘aliases’ => [ …. ‘Stripe’ => Cartalyst\Stripe\Laravel\Facades\Stripe::class, ],