reliv/serve-static
Composer 安装命令:
composer require reliv/serve-static
包简介
A PSR-15 middleware that serves static assets for you. Is similar to the "serve-static" npm package.
README 文档
README
For future support, including expressive 3 support, try this other project: https://packagist.org/packages/fduarte42/zend-expressive-static-files
Serve Static
A PSR-15 middleware that serves static assets for you
Example usage:
$app->pipe('/fun-module/assets', new \Reliv\ServeStatic\ServeStaticMiddleware( __DIR__ . '/../vendor/fund-module/public', ['publicCachePath' => __DIR__ . '/../public/fun-module/assets'] ));
统计信息
- 总下载量: 319
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 5
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2017-09-21