imagina / laravelpayu-module
PayU autoloader for laravel
0.1.2
2020-02-28 13:48 UTC
Requires
- php: >=5.5.9
Requires (Dev)
- phpunit/phpunit: ~4.0
This package is not auto-updated.
Last update: 2024-11-14 15:16:54 UTC
README
A simple autoload for PayU SDK PHP in laravel.
Installation
Add follow lines in the composer.json file
"repositories": [
...
{
"type": "git",
"url": "https://github.com/imagina/Laravel-payU.git"
}
...
],
Install via composer
composer require imagina/laravel-payu
Usage
<?php namespace App\Http\Controllers; use App\Http\Controllers\Controller; use PayUReports; class myController extends Controller { public function ping () { PayUReports::doPing(); } }