igsem/api-bundle
Composer 安装命令:
composer require igsem/api-bundle
包简介
A simple bundle to help Symfony API development. Provides a BaseController, BaseTest and a StatusCode helper
README 文档
README
This bundle Provides simple Abstract classes for easing the API Development. A Base Controller class to generate a skeleton CRUD with NelmioApiDoc already configured. Also an APIBase test which runs automatically some CRUD tests for your API ..minimum configuration required for a pretty good test coverage. We also have a LoginTrait for the tests to be able to login into our API via a token.
Installation: Just install the requirements and register the bundles in your AppKernel
new Nelmio\ApiDocBundle\NelmioApiDocBundle() ,
new JMS\SerializerBundle\JMSSerializerBundle(),
new \Igsem\APIBundle\IgsemAPIBundle() ,
统计信息
- 总下载量: 94
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-11-15