igsem/api-bundle

A simple bundle to help Symfony API development. Provides a BaseController, BaseTest and a StatusCode helper

1.0.6 2017-06-29 20:08 UTC

This package is not auto-updated.

Last update: 2024-04-19 20:36:51 UTC


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() ,