mallariel / laravelliqpay
Liqpay for Laravel
1.0.1
2022-02-01 09:10 UTC
Requires
- liqpay/liqpay: ^1.2
Requires (Dev)
- orchestra/testbench: ^6.24
README
Laravel LiqPay
A Laravel package for the LiqPay PHP SDK.
Installation
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"
Configuration
Please set your API: LIQPAY_PUBLIC
and LIQPAY_PRIVATE
in the .env
file.
In additional you could set currencies: LIQPAY_CURRENCIES