codeinc / robots-txt-middleware
此包已被弃用,不再维护。未建议替代包。
一个用于响应/robots.txt请求的PSR-15中间件
1.2.2
2018-10-08 15:32 UTC
Requires
- php: >=7.1
- arcanedev/robots: ^2.0
- codeinc/psr7-responses: ^2
- psr/http-message: ^1.0
- psr/http-server-handler: ^1.0
- psr/http-server-middleware: ^1.0
Requires (Dev)
- codeinc/middleware-test-kit: ^1.0
- guzzlehttp/psr7: ^1.4
- phpunit/phpunit: ^7
Suggests
- codeinc/middleware-dispatcher: A PSR-15 middleware dispatcher
- codeinc/psr7-response-sender: A PSR-7 response sender
- codeinc/router: A PSR-7 & PSR-15 router
This package is auto-updated.
Last update: 2020-02-09 03:33:39 UTC
README
RobotsTxtMiddleware
是一个专注于响应 /robots.txt
请求的 PSR-15 中间件。它使用 arcanedev/robots 在 robots.txt
格式 中生成响应。
安装
此库可通过 Packagist 获取,并使用 Composer 进行安装
composer require codeinc/robots-txt-middleware
💬 此库是从现在已弃用的 codeinc/psr15-middlewares 包中提取的。
许可
此库在 MIT 许可下发布(参见 LICENSE
文件)。