A Laravel package for the LiqPay PHP SDK.
composer require mallariel/laravelliqpay
Add a ServiceProvider to your providers array in config/app.php
:
'providers' => [
//other things here
Mallariel\LaravelLiqPay\LaravelLiqPayServiceProvider::class,
];
Add the facade to the facades array:
'aliases' => [
//other things here
'LaravelLiqpay' => Mallariel\LaravelLiqPay\Facades\LaravelLiqPay::class,
];
Finally, publish the configuration files:
php artisan vendor:publish --provider="Mallariel\LaravelLiqPay\LaravelLiqPayServiceProvider"
Please set your API: LIQPAY_PUBLIC
and LIQPAY_PRIVATE
in the .env
file.
In additional you could set currencies: LIQPAY_CURRENCIES