Download the PHP package diamante/api-bundle without Composer
On this page you can find all versions of the php package diamante/api-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download diamante/api-bundle
More information about diamante/api-bundle
Files in diamante/api-bundle
Package api-bundle
Short Description DiamanteDesk Api Bundle
License OSL-3.0
Homepage https://github.com/eltrino/DiamanteApiBundle
Informations about the package api-bundle
DiamanteDesk API Bundle
API bundle provides extended authentication required for DiamanteDesk API and a way to expose services and their methods as RESTful API.
Requirements
DiamanteDesk supports OroCRM version 1.8+.
Configuration
Add additional configuration to app/config/security.yml
:
-
to section providers:
- to section firewalls:
Usage
For example, you have a service defined in configuration with "entities.service.id" id. To expose it as RESTful API:
- it should implement the following interface \Diamante\ApiBundle\Routing\RestServiceInterface
-
the following methods should be public and annotated with \Diamante\ApiBundle\Annotation\ApiDoc:
- specify service in routing configuration:
After all the steps are completed, your service shall be available at:
Contributing
We appreciate any effort to make DiamanteDesk functionality better; therefore, we welcome all kinds of contributions in the form of bug reporting, patches submitting, feature requests or documentation enhancement. Please refer to the DiamanteDesk guidelines for contributing if you wish to be a part of the project.
All versions of api-bundle with dependencies
oro/platform Version 1.8.*
nelmio/api-doc-bundle Version 2.9.*
jms/serializer-bundle Version 0.*
diamante/desk-bundle Version self.version
diamante/user-bundle Version self.version