Response Download 1.0
2023-03-13
974次浏览
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%.
新闻归档
热门标签
- yii3
- 扩展
- 发布
- yii2
- debug
- auth client
- view
- bootstrap
- release
- Yii 2.0
- mongodb
- apidoc
- redis
- Yii 1.1
- gii
- runner
- console
- twig
- queue
- http 客户端
- extensions
- mailer
- html
- translator
- sphinx
- cache
- error handler
- log
- http
- db
- validation
- config
- widget
- 图书
- swiftmailer
- imagine
- symfonymailer
- hydrator
- IDE
- i18n
- assets
- elasticsearch
- router
- logging
- user
- smarty
- swagger
- definitions
- fastroute
- csrf