Graille-Labs - Screeper Project - JsonApi bundle
DEVELOPMENT IN PROGRESS, (*1)
, (*2)
The JsonApi bundle add support of JsonApi (alecgorge's plugin) in symfony 2., (*3)
The github of JsonApi : https://github.com/alecgorge/jsonapi, (*4)
The webpage of JsonApi : Not available, (*5)
Installation
Add :, (*6)
"graille-labs/screeper-jsonapi-bundle": "dev-master"
in your composer.json, (*7)
Configuration
You must configure servers in the ServerBundle :, (*8)
ServerBundle Page : https://github.com/graille/ServerBundle, (*9)
Usage
For use, you must call the service :, (*10)
$api = $this->container->get('screeper.json_api.services.api')->getApi("servername");
After that, you can use the api normally.
If "servername" is empty, the default server will be used (For more informations, go to the ServerBundle page)., (*11)