zogxray/wayforpay

Wayforpay Laravel API

v0.5 2017-08-21 12:11 UTC

This package is auto-updated.

Last update: 2021-07-14 14:08:33 UTC


README

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"