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.
v2.0.0
2017-12-10 20:46 UTC
Requires
- php: >=7.1.3
- symfony/config: ^4.0
- symfony/form: ^4.0
- symfony/framework-bundle: ^4.0
- symfony/http-foundation: ^4.0
- symfony/http-kernel: ^4.0
Requires (Dev)
README
Provides some missing out-of-box features for RESTful API services based on Symfony.
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 forLast-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.