radsphere / rest-bundle
This Bundle provides various tools to rapidly develop RESTful API's resources with Symfony2 with minimal code on your controllers using the power full symfony2 form binding and http foundation component
Requires
- php: >=5.3.2
- doctrine/orm: ~2.2,>=2.2.3
- jms/serializer-bundle: 0.12.*@dev
- symfony/form: ~2.1
- symfony/framework-bundle: ~2.1
- symfony/http-foundation: ~2.1
- symfony/monolog-bundle: ~2.1
Suggests
- radsphere/resource-bundle: symfony bundle which show how to use this bundle, in three easy steps
This package is auto-updated.
Last update: 2023-03-27 22:23:09 UTC
README
This PHP Symfony2 bundle provides various tools to rapidly develop RESTful API's web applications with Symfony2 form component. Features included:
- An implementation of self-link for api resources
- A Factory to create api resources with minimal controller code
- Centralized place in code for handling api requests
- Base repository filters for api resources
- Base API Exceptions
- Support for JsonP
The bundle requires the following components:
- Symfony2 http foundation component
- Symfony2 form component
The following bundle are recommended to use
- RadsResourceBundle - sample of how to use the bundle
- FosRestBundle - ease of defining routes
- JMSerializeBundle - serailizing the responses by groups
Documentation
The bulk of the documentation is stored in the Resources/doc/index.md
file in this bundle:
Read the Documentation for master
Please see the UPGRADING.md for any relevant instructions when upgrading to a newer version.
Installation
All the installation instructions are located in the documentation.
License
This bundle is under the MIT license. See the complete license in the bundle:
Resources/meta/LICENSE