Download the Stripe API Library and place it in vendor Folder
source : [https://github.com/stripe/stripe-php][1]
include the library in your controller
use Stripe\BalanceTransaction;
use Stripe\Charge;
use Stripe\Stripe;
require_once('../vendor/stripe/init.php');
set the strip key
\Stripe...