integration of myfatoorah with laravel framework for php
baselrabia/myfatoorah-with-laravel is a Laravel package for integration of myfatoorah with laravel framework for php.
It currently has 1 GitHub stars and 8.051 downloads on Packagist (latest version v1.0.0).
Install it with composer require baselrabia/myfatoorah-with-laravel.
Discover more Laravel packages by baselrabia
or browse all Laravel packages to compare alternatives.
Last updated
Begin by installing this package through Composer. Just run following command to terminal-
composer require baselrabia/myfatoorah-with-laravel
Once this operation completes the package will automatically be discovered for Laravel 5.6 and above,
php artisan vendor:publish --provider="Basel\MyFatoorah\MyFatoorahServiceProvider"
php artisan migrate
.env file, Add // you don't have to do this step if you are testing the packageMYFATOORAH_TOKEN=**************
Otherwise, the final step is to add the service provider. Open config/app.php, and add a new item to the providers array.
'providers' => [
...
Basel\MyFatoorah\MyFatoorahServiceProvider::class,
],
Please use these ‘test card’ details for your demo
"card": {
"Number":"5123450000000008",
"expiryMonth":"05",
"expiryYear":"21",
"securityCode":"100"
},