arturishe21/laravel-liqpay

LiqPay for Laravel

1.03 2022-11-19 17:13 UTC

This package is not auto-updated.

Last update: 2024-11-03 21:20:35 UTC


README

Latest Stable Version Total Downloads Latest Unstable Version License Maintainability

A Laravel package for the LiqPay PHP SDK.

Instalation

composer require arturishe21/laravel-liqpay

Add a ServiceProvider to your providers array in config/app.php:

    'providers' => [
    	//other things here

    	Arturishe21\LiqPay\LiqPayServiceProvider::class,
    ];

Add the facade to the facades array:

    'aliases' => [
    	//other things here

    	'LiqPay' => Arturishe21\LiqPay\Facades\LiqPay::class,
    ];

Finally, publish the configuration files:

php artisan vendor:publish --provider="Arturishe21\LiqPay\LiqPayServiceProvider"

Configuration

Please set your API: LIQPAY_PUBLIC and LIQPAY_PRIVATE in the .env file