Response Download 1.0
2023-03-13
894次浏览
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
- bootstrap
- view
- redis
- apidoc
- mongodb
- Yii 2.0
- Yii 1.1
- release
- extensions
- gii
- http 客户端
- runner
- queue
- console
- mailer
- sphinx
- translator
- twig
- html
- db
- cache
- config
- 图书
- widget
- validation
- swiftmailer
- imagine
- error handler
- symfonymailer
- log
- http
- IDE
- router
- hydrator
- i18n
- assets
- elasticsearch
- vardumper
- definitions
- smarty
- swagger
- fastroute
- csrf
- rbac