zogxray / wayforpay by zogxray
forked from wayforpay/PHP

Wayforpay Laravel API
365
1
3
Package Data
Maintainer Username: zogxray
Maintainer Contact: zogxray@gmail.com (Viktor Pavlov)
Package Create Date: 2017-08-11
Package Last Update: 2017-08-21
Language: PHP
License: MIT
Last Refreshed: 2024-04-27 03:04:07
Package Statistics
Total Downloads: 365
Monthly Downloads: 3
Daily Downloads: 0
Total Stars: 1
Total Watchers: 3
Total Forks: 2
Total Open Issues: 0

Install

Via Composer

$ composer require zogxray/wayforpay

Laravel

Register Service Provider

Append the following line to the providers key in config/app.php to register the package:

Zogxray\Wayforpay\WayForPayServiceProvider::class,

The package supports auto-discovery, so if you use Laravel 5.5 or later you may skip registering the service provider and facades and instead run php artisan package:discover.


Register Facades (optional)

If you like facades, you may also append the Wayforpay facade to the aliases key:

'Wayforpay' => Zogxray\Wayforpay\WayForPayFacade::class,

Publish Package Assets (optional)

You may additionally publish the package configuration and language file using the vendor:publish Artisan command:

php artisan vendor:publish --provider="Zogxray\Wayforpay\WayForPayServiceProvider"