fresh / common-api-bundle
Provides some missing out-of-box features for RESTful API services based on Symfony.
Installs: 1 067
Dependents: 0
Suggesters: 0
Security: 0
Type:symfony-bundle
pkg:composer/fresh/common-api-bundle
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
BooleanTypefor forms which are used in the RESTful context. - [x]
ServerInternalErrorExceptionif you need to return a response with a 500 HTTP status code. - [x]
DateFormatHelperhas date format forLast-ModifiedHTTP header. - [x]
ExceptionHelperTraitshortcut methods to throw some frequently used exceptions in controllers. - [x]
JsonDecoderListenerdecodes 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.
