2017 © Pedro Peláez
 

library maintenance

Site maintenance middleware SEO friendly with PSR-7

image

php-middleware/maintenance

Site maintenance middleware SEO friendly with PSR-7

  • Wednesday, May 17, 2017
  • by snapshotpl
  • Repository
  • 2 Watchers
  • 6 Stars
  • 15 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

maintenance Build Status

Site maintenance middleware SEO friendly, (*1)

How to usage

Create instance of middleware as you want (we use named constructors) and add it to middleware runner., (*2)

$date = DateTime::createFromFormat('Y-m-d H:i:s', '2025-11-30 11:12:13');

$middleware = MaintenanceMiddleware::createWithRetryAsDateTime($date, $psr17ResponseFactory);

$middlewareRunner->add($middleware);
$middlewareRunner->run();

Features

  • Setup 503 status code,
  • Supports Retry-After header (as seconds or HTTP-date),
  • Supports Redirect header (redirect page after Retry-After time).

More about this SEO practice: How to deal with planned site downtime in Google Webmaster Central Blog., (*3)

How to install

Use composer!, (*4)

composer require php-middleware/maintenance

This package require PSR-17 message factory implementation to return SEO friendly response., (*5)

The Versions

17/05 2017

dev-master

9999999-dev

Site maintenance middleware SEO friendly with PSR-7

  Sources   Download

MIT

The Requires

 

The Development Requires

middleware psr psr-7 maintenance

17/05 2017

1.1.0

1.1.0.0

Site maintenance middleware SEO friendly with PSR-7

  Sources   Download

MIT

The Requires

 

The Development Requires

middleware psr psr-7 maintenance

17/05 2017

dev-psr-15

dev-psr-15

Site maintenance middleware SEO friendly with PSR-7

  Sources   Download

MIT

The Requires

 

The Development Requires

middleware psr psr-7 maintenance

17/05 2017

1.0.1

1.0.1.0

Site maintenance middleware SEO friendly with PSR-7

  Sources   Download

MIT

The Requires

 

The Development Requires

middleware psr psr-7 maintenance

17/05 2017

dev-improve_testing

dev-improve_testing

Site maintenance middleware SEO friendly with PSR-7

  Sources   Download

MIT

The Requires

 

The Development Requires

middleware psr psr-7 maintenance

30/11 2015

1.0.0

1.0.0.0

Site maintenance middleware SEO friendly with PSR-7

  Sources   Download

The Requires

 

The Development Requires

middleware psr psr-7 maintenance