A Laravel package for the LiqPay PHP SDK.
composer require deniztezcan/laravel-liqpay
Add a ServiceProvider to your providers array in config/app.php
:
'providers' => [
//other things here
DenizTezcan\LiqPay\LiqPayServiceProvider::class,
];
Add the facade to the facades array:
'aliases' => [
//other things here
'LiqPay' => DenizTezcan\LiqPay\Facades\LiqPay::class,
];
Finally, publish the configuration files:
php artisan vendor:publish --provider="DenizTezcan\LiqPay\LiqPayServiceProvider"
Please set your API: LIQPAY_PUBLIC
and LIQPAY_PRIVATE
in the .env
file