elife/api-problem
最新稳定版本:v1.4.0
Composer 安装命令:
composer require elife/api-problem
包简介
eLife Sciences RFC 7807 handler
README 文档
README
This library provides a RFC 7807 handler for the eLife Sciences applications.
Dependencies
- Composer
- PHP 7
Installation
composer require elife/api-problem
Set up
Silex
use eLife\ApiProblem\Silex\ApiProblemProvider; $app->register(new ApiProblemProvider());
Exception details (eg stacktrace) will be included based on the value of $app['debug']. This can be overridden by setting $app['api_problem.factory.include_exception_details'] to true or false.
Running the tests
vendor/bin/phpunit
统计信息
- 总下载量: 14.57k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 1
其他信息
- 授权协议: MIT
- 更新时间: 2017-11-01