The Symfony PHP framework
Pull request Compare This branch is 214 commits behind symfony:master.
Latest commit e66e6af Jan 9, 2017 @fabpot feature #21188 [HttpFoundation] Add File\Stream for size-unknown Bina…
…ryFileResponse (nicolas-grekas)

This PR was merged into the 3.3-dev branch.


[HttpFoundation] Add File\Stream for size-unknown BinaryFileResponse

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #19738
| License       | MIT
| Doc PR        | symfony/symfony-docs#7343

Replaces #19740. Native "getSize" is reported to return false on error, so using false as return type doesn't break the signature.


8011209 [HttpFoundation] Add File\Stream for size-unknown BinaryFileResponse
Failed to load latest commit information.
.composer Drop hirak/prestissimo May 12, 2016
.github Minor fixes found while ugrading the CI Jan 3, 2017
src/Symfony feature #21188 [HttpFoundation] Add File\Stream for size-unknown Bina… Jan 9, 2017
.editorconfig Add EditorConfig File Jun 16, 2012
.gitignore Add appveyor.yml for C.I. on Windows Aug 25, 2015
.php_cs.dist Merge branch '2.7' into 2.8 Jan 4, 2017
.travis.yml feature #21108 [Cache] Add DSN, createClient & better error reporting… Jan 4, 2017 Merge branch '2.8' into 3.1 Aug 5, 2016 updated CHANGELOG for 3.1.8 Dec 13, 2016 updated CHANGELOG for 3.2.1 Dec 13, 2016 Mention the community review guide Dec 18, 2016 update CONTRIBUTORS for 2.7.22 Dec 13, 2016
LICENSE updated LICENSE year Jan 2, 2017 Merge branch '2.8' into 3.1 Dec 23, 2016 Merge branch '2.8' into 3.1 Nov 18, 2016 [Serializer] Remove AbstractObjectNormalizer::isAttributeToNormalize Dec 8, 2016 [TwigBridge] Fix upgrade/changelog notes Dec 27, 2016 [EventDispatcher] Deprecate ContainerAwareEventDispatcher Jan 7, 2017 [EventDispatcher] Deprecate ContainerAwareEventDispatcher Jan 7, 2017
appveyor.yml Merge branch '3.1' into 3.2 Jan 3, 2017
composer.json [WebServerBundle] moved most of the logic in a new class Dec 30, 2016
phpunit.xml.dist [cache] Add tests for MemcachedAdapter::createClient() Jan 3, 2017


What is Symfony?

Symfony is a PHP full-stack web framework. It is written with speed and flexibility in mind. It allows developers to build better and easy to maintain websites with PHP.

Symfony can be used to develop all kind of websites, from your personal blog to high traffic ones like Dailymotion or Yahoo! Answers.


The best way to install Symfony is to use the official Symfony Installer. It allows you to start a new project based on the version you want.


The "Quick Tour" tutorial gives you a first feeling of the framework. If, like us, you think that Symfony can help speed up your development and take the quality of your work to the next level, read the official Symfony documentation.


Symfony is an open source, community-driven project. If you'd like to contribute, please read the Contributing Code part of the documentation. If you're submitting a pull request, please follow the guidelines in the Submitting a Patch section and use Pull Request Template.

Community Reviews

If you don't feel ready to contribute code or patches, reviewing issues and pull requests can be a great start to get involved and give back. In fact, people who "triage" issues are the backbone to Symfony's success!
More information can be found in the Community Reviews guide.

Running Symfony Tests

Information on how to run the Symfony test suite can be found in the Running Symfony Tests section.