Download the PHP package satooshi/symfony2contrib-http-foundation-extra-bundle without Composer
On this page you can find all versions of the php package satooshi/symfony2contrib-http-foundation-extra-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download satooshi/symfony2contrib-http-foundation-extra-bundle
More information about satooshi/symfony2contrib-http-foundation-extra-bundle
Files in satooshi/symfony2contrib-http-foundation-extra-bundle
Download satooshi/symfony2contrib-http-foundation-extra-bundle
More information about satooshi/symfony2contrib-http-foundation-extra-bundle
Files in satooshi/symfony2contrib-http-foundation-extra-bundle
Vendor satooshi
Package symfony2contrib-http-foundation-extra-bundle
Short Description Symfony2 contrib http foundation extra bundle
License MIT
Homepage https://github.com/satooshi/ContribHttpFoundationExtraBundle
Package symfony2contrib-http-foundation-extra-bundle
Short Description Symfony2 contrib http foundation extra bundle
License MIT
Homepage https://github.com/satooshi/ContribHttpFoundationExtraBundle
Keywords contrib
Please rate this library. Is it a good library?
Informations about the package symfony2contrib-http-foundation-extra-bundle
ContribHttpFoundationExtraBundle
Install
See Packagist.
Annotation Usage
This bundle contains the following annotations.
- @File: force to download a file.
- @Json: create JsonResponse from controller result.
- Content-Type is
- application/json for json response
- text/javascript for jsonp response
- Content-Type is
@File parameters
- filename: required if "content" was set to controller result. optional if "path" was set. used for "Content-Disposition" HTTP header
- charset: optional charactor encoding. used for "Content-Type" HTTP header
- mimeType: optional mime type. default value is "application/octet-stream". used for "Content-Type" HTTP header
@Json parameters
- callbackName: optional callback request parameter name (default value: callback).
- serialize: optional boolean whether to use serializer (jms/serializer).
- serializeGroups: optional array to use serialize group.
todo
- avoid HTTP header conflict if it has already been set
- add supecific file type annotation support (@Plain, @Csv, @Pdf, @Zip, and so on)
- add rendering template functionality as the same as @Template
- add DependencyInjection/Cofiguration to support default parameter configuration
- add unit test
All versions of symfony2contrib-http-foundation-extra-bundle with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.0
symfony/symfony Version >=2.1
sensio/framework-extra-bundle Version >=2.1
jms/serializer-bundle Version 0.9.0
symfony/symfony Version >=2.1
sensio/framework-extra-bundle Version >=2.1
jms/serializer-bundle Version 0.9.0
The package satooshi/symfony2contrib-http-foundation-extra-bundle contains the following files
Loading the files please wait ....