czim / van-domburg-api-client
API Client for the Van Domburg Middleware API
This package's canonical repository appears to be gone and the package has been frozen as a result. Email us for help if needed.
0.9.82
2016-05-27 12:25 UTC
Requires
- php: >=5.4.0
- czim/laravel-dataobject: ^1.0
- czim/laravel-service: ^0.9
- guzzlehttp/guzzle: ~6.0
- league/oauth2-client: ^1.0
Requires (Dev)
- mockery/mockery: 0.9.*
- orchestra/testbench: ~3.0
- phpunit/phpunit: 4.*
- scrutinizer/ocular: ~1.1
This package is auto-updated.
Last update: 2019-02-19 16:18:49 UTC
README
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.