widop/framework-extra-bundle

An extension to Symfony2 FrameworkBundle that adds annotation configuration for Controller classes.

Installs: 1 235

Dependents: 0

Stars: 12

Watchers: 5

Forks: 1

Language: PHP

1.0.2 2014-06-04 10:44 UTC

README

Build Status

Adds annotation configuration for controller classes.

The supported annotations are :

  • @XmlHttpRequest: Checks if the request is an XML HTTP Request.
  • @JsonTemplate: Converts the controller result to a JSON response.

Documentation

  1. Installation
  2. Configuration
  3. Usage

Testing

The bundle is fully unit tested by PHPUnit with a code coverage close to 100%. To execute the test suite, check the travis configuration.

Contribute

We love contributors! The bundle is open source, if you'd like to contribute, feel free to propose a PR!

License

The Wid'op Framework Extra Bundle is under the MIT license. For the full copyright and license information, please read the LICENSE file that was distributed with this source code.