codeinc / robots-txt-middleware
A PSR-15 middleware to answers /robots.txt requests
Installs: 29
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
pkg:composer/codeinc/robots-txt-middleware
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
is a PSR-15 middleware dedicated to answer /robots.txt
requests. It uses arcanedev/robots to generate the response in the robots.txt
format.
Installation
This library is available through Packagist and can be installed using Composer:
composer require codeinc/robots-txt-middleware
💬 This library is extracted from the now deprecated codeinc/psr15-middlewares package.
License
The library is published under the MIT license (see LICENSE
file).