Skip to content

deniztezcan/laravel-liqpay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel LiqPay

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