czim/van-domburg-api-client

API Client for the Van Domburg Middleware API


README

Latest Version on Packagist Software License Build Status Latest Stable Version SensioLabsInsight

Van Domburg Middleware API Client package.

Install

Via Composer

$ composer require czim/van-domburg-api-client

Add this line of code to the providers array located in your config/app.php file:

    Czim\VanDomburgApiClient\VanDomburgApiClientServiceProvider::class,

Publish the configuration:

$ php artisan vendor:publish

Usage

...

To Do

When writing unit tests, make sure to set up the session:

$app['config']->set('session', [
    'driver'          => 'array',
    'lifetime'        => 120,
    'expire_on_close' => false,
    'encrypt'         => false,
    'lottery'         => [2, 100],
    'path'            => '/',
    'domain'          => 'localhost',
]);

$kernel = app('Illuminate\Contracts\Http\Kernel');
$kernel->pushMiddleware('Illuminate\Session\Middleware\StartSession');

Credits

License

The MIT License (MIT). Please see License File for more information.