wokora / pesapal
Pesapal for laravel
v1.1.0
2020-11-16 13:45 UTC
This package is auto-updated.
Last update: 2025-04-19 00:20:09 UTC
README
Installation
Add this package using Composer
From the command line inside your project directory, simply type:
composer require wokora/pesapal
Add the service provider to the providers array in config/app.php:
Wokora\Pesapal\PesapalServiceProvider::class,
Add the facade to the aliases array in config/app.php:
'Pesapal' => Wokora\Pesapal\Pesapal::class,
Publish the package configuration (for Laravel 5.4 and below)
Publish the configuration file and migrations by running the provided console command:
php artisan vendor:publish --provider="Wokora\Pesapal\PesapalServiceProvider"
The ENV Variables can also be set from here.
#### Example ENV
PESAPAL_LIVE=true PESAPAL_CONSUMER_KEY="" PESAPAL_CONSUMER_SECRET="" PESAPAL_CALLBACK_URL="http://127/0.0.1:8000/confirm"
#### All Done
Feel free to report any issues