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

v1.0.1 2015-06-12 22:08 UTC

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