-
-
Notifications
You must be signed in to change notification settings - Fork 87
Installation
Shipu Ahamed edited this page Jul 11, 2020
·
10 revisions
Go to terminal and run this command
composer require shipu/bkash
Wait for few minutes. Composer will automatically install this package for your project.
Below Laravel 5.5 open config/app
and add this line in providers
section
Shipu\Bkash\BkashServiceProvider::class,
For Facade support you have add this line in aliases
section.
'Tokenized' => Shipu\Bkash\Facades\Tokenized::class,
'Checkout' => Shipu\Bkash\Facades\Checkout::class,
'Payment' => Shipu\Bkash\Facades\Payment::class,
Then run this command
php artisan vendor:publish --provider="Shipu\Bkash\BkashServiceProvider"
After vendor publish update your .env
. ENV keys example.
Don't worry dear it's also supported in laravel 5, 6 ,7 and more.
Go to terminal and run this command.
composer require vlucas/phpdotenv