kozz/best2pay

Best2Pay integration

0.3.0 2018-06-21 11:48 UTC

This package is not auto-updated.

Last update: 2024-11-10 04:32:54 UTC


README

Best2Pay API integration (including Laravel service provider)

Installation

composer require kozz/best2pay ~0.2

Laravel service registration

Package supports auto discovery for Laravel > 5.5

If you have Laravel <5.5, add service provider in configs/app.php

'providers' => [
    /*
     * Laravel Framework Service Providers...
     */
    ...

    /*
     * Application Service Providers...
     */
    ...
    Kozz\Best2Pay\Laravel\Providers\Best2PayServiceProvider::class
],

You can also add Facade (configs/app.php)

'aliases' => [
    ...
    'Best2Pay' => Kozz\Best2Pay\Laravel\Facades\Best2PayFacade::class
],

Then run command (it will create config/best2pay.php file)

php artisan vendor:publish