deniztezcan/laravel-liqpay

LiqPay for Laravel

1.0.0 2020-09-09 13:44 UTC

This package is auto-updated.

Last update: 2024-10-07 23:07:03 UTC


README

Latest Stable Version Total Downloads Latest Unstable Version License Maintainability

A Laravel package for the LiqPay PHP SDK.

Instalation

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"

Configuration

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