Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/baselrabia/myfatoorah-with-laravel
it's a PACKAGE helps in integration Myfatoorah payment gateway with Laravel framework.
https://github.com/baselrabia/myfatoorah-with-laravel
curl guzzle laravel myfatoorah php
Last synced: about 2 months ago
JSON representation
it's a PACKAGE helps in integration Myfatoorah payment gateway with Laravel framework.
- Host: GitHub
- URL: https://github.com/baselrabia/myfatoorah-with-laravel
- Owner: baselrabia
- License: mit
- Created: 2021-02-01T08:38:24.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-06-14T19:33:42.000Z (over 3 years ago)
- Last Synced: 2024-11-09T04:41:54.745Z (2 months ago)
- Topics: curl, guzzle, laravel, myfatoorah, php
- Language: PHP
- Homepage:
- Size: 15.6 KB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.TXT
Awesome Lists containing this project
README
## Installation
Begin by installing this package through Composer. Just run following command to terminal-```php
composer require baselrabia/myfatoorah-with-laravel
```Once this operation completes the package will automatically be discovered for **Laravel 5.6 and above**,
- Run this line to publish package files in your app
```php
php artisan vendor:publish --provider="Basel\MyFatoorah\MyFatoorahServiceProvider"
```
- after that fire the migration command```php
php artisan migrate
```
- last step in your `.env` file, Add // you don't have to do this step if you are testing the package```php
MYFATOORAH_TOKEN=**************
```
Otherwise, the final step is to add the service provider. Open `config/app.php`, and add a new item to the providers array.
```php
'providers' => [
...
Basel\MyFatoorah\MyFatoorahServiceProvider::class,
],
```
## test card:### Checkout Process Demo
Please use these ‘test card’ details for your demo
```php
"card": {
"Number":"5123450000000008",
"expiryMonth":"05",
"expiryYear":"21",
"securityCode":"100"
},
```