fresh/common-api-bundle

This package is abandoned and no longer maintained. No replacement package was suggested.

Provides some missing out-of-box features for RESTful API services based on Symfony.

Installs: 1 066

Dependents: 0

Suggesters: 0

Security: 0

Type:symfony-bundle

v2.0.0 2017-12-10 20:46 UTC

This package is auto-updated.

Last update: 2019-02-20 19:37:10 UTC


README

Provides some missing out-of-box features for RESTful API services based on Symfony.

Scrutinizer Quality Score Build Status CodeCov License Latest Stable Version Total Downloads StyleCI Gitter

SensioLabsInsight knpbundles.com

Features

  • [x] Improved BooleanType for forms which are used in the RESTful context.
  • [x] ServerInternalErrorException if you need to return a response with a 500 HTTP status code.
  • [x] DateFormatHelper has date format for Last-Modified HTTP header.
  • [x] ExceptionHelperTrait shortcut methods to throw some frequently used exceptions in controllers.
  • [x] JsonDecoderListener decodes JSON request content into the array.

Install via Composer


## Usage

* [Improved `BooleanType`](./Resources/docs/boolean_type.md "Improved BooleanType")

## Contributing

See [CONTRIBUTING](https://github.com/fre5h/CommonApiBundle/blob/master/.github/CONTRIBUTING.md) file.