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"