czim/van-domburg-api-client
最新稳定版本:0.9.82
Composer 安装命令:
composer require czim/van-domburg-api-client
包简介
API Client for the Van Domburg Middleware API
README 文档
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.
统计信息
- 总下载量: 317
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-11-02