2017 © Pedro Peláez
 

library block-robots

PSR-15 middleware to avoid search engine indexing with PSR-7

image

php-middleware/block-robots

PSR-15 middleware to avoid search engine indexing with PSR-7

  • Friday, May 12, 2017
  • by snapshotpl
  • Repository
  • 1 Watchers
  • 3 Stars
  • 7,826 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 70 % Grown

The README.md

block-robots middleware Build Status

PSR-15 middleware to avoid search engine indexing with PSR-7, (*1)

This middleware provide framework-agnostic possibility to preventing your site from being indexed., (*2)

How it works?

  • Add X-Robots-Tag header with noindex, nofollow value.
  • Add robots.txt "file" with User-Agent: * Disallow: / body

Installation

composer require php-middleware/block-robots
$blockRobotsMiddleware = new PhpMiddleware\BlockRobots\BlockRobotsMiddleware();

$app = new MiddlewareRunner();
$app->add($blockRobotsMiddleware);
$app->run($request, $response);

It's just works with any modern php framework!

Middleware tested on: * Expressive, (*3)

Middleware should works with: * Slim 3.x, (*4)

And any other modern framework supported middlewares and PSR-7., (*5)

The Versions

12/05 2017

dev-master

9999999-dev

PSR-15 middleware to avoid search engine indexing with PSR-7

  Sources   Download

The Requires

 

The Development Requires

middleware psr psr-7 seo robots psr-15

12/05 2017

1.1.0

1.1.0.0

PSR-15 middleware to avoid search engine indexing with PSR-7

  Sources   Download

The Requires

 

The Development Requires

middleware psr psr-7 seo robots psr-15

12/05 2017

dev-psr-15

dev-psr-15

PSR-15 middleware to avoid search engine indexing with PSR-7

  Sources   Download

The Requires

 

The Development Requires

middleware psr psr-7 seo robots psr-15

07/11 2015

1.0.1

1.0.1.0

Middleware to avoid search engine indexing with PSR-7

  Sources   Download

The Requires

 

The Development Requires

middleware psr psr-7 seo robots

22/09 2015

1.0.0

1.0.0.0

Middleware to avoid search engine indexing with PSR-7

  Sources   Download

The Requires

 

The Development Requires

middleware psr psr-7 seo robots