[news] Response Download 1.0


The first stable version of yiisoft/response-download was released.
This package provides multiple methods for creating PSR-7 compatible response with downloadable content using PSR-17 compatible response factory and stream factory:

  • Send file by path.
  • Send string content as a file.
  • Send PSR-7 compatible stream as a file.
  • Send file by path using x-sendfile.
  • Check README for more details.

Psalm level is 1, the code coverage and MSI are 100%.