php-middleware / Maintenance
Licence: mit
Site maintenance SEO PSR-15 middleware
Labels
Projects that are alternatives of or similar to Maintenance
spiderable-middleware
🤖 Prerendering for JavaScript powered websites. Great solution for PWAs (Progressive Web Apps), SPAs (Single Page Applications), and other websites based on top of front-end JavaScript frameworks
Stars: ✭ 29 (+262.5%)
Mutual labels: middleware, seo
Logger
HTTP middleware for Go that logs web requests to an io.Writer.
Stars: ✭ 24 (+200%)
Mutual labels: middleware
Redux Cycles
Bring functional reactive programming to Redux using Cycle.js
Stars: ✭ 755 (+9337.5%)
Mutual labels: middleware
Seo Analysis
A Python script to gain some insights from a domain and list of keywords.
Stars: ✭ 25 (+212.5%)
Mutual labels: seo
Kona
a node.js service framework built on koa.js (generators)
Stars: ✭ 23 (+187.5%)
Mutual labels: middleware
React Redux Loading Bar
Loading Bar (aka Progress Bar) for Redux and React
Stars: ✭ 894 (+11075%)
Mutual labels: middleware
Redux Firebase Middleware
🔌 🔥 Redux firebase middleware for React and React-native
Stars: ✭ 17 (+112.5%)
Mutual labels: middleware
Csrf
Package csrf is a middleware that generates and validates CSRF tokens for Macaron.
Stars: ✭ 6 (-25%)
Mutual labels: middleware
Honeybadger Node
A node.js notifier for honeybadger.io
Stars: ✭ 19 (+137.5%)
Mutual labels: middleware
Prerender Spa Plugin
Prerenders static HTML in a single-page application.
Stars: ✭ 7,018 (+87625%)
Mutual labels: seo
Cookie Session
Simple cookie-based session middleware
Stars: ✭ 928 (+11500%)
Mutual labels: middleware
Schema Org
A fluent builder Schema.org types and ld+json generator
Stars: ✭ 894 (+11075%)
Mutual labels: seo
maintenance
Site maintenance middleware SEO friendly
How to usage
Create instance of middleware as you want (we use named constructors) and add it to middleware runner.
$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 afterRetry-After
time).
More about this SEO practice: How to deal with planned site downtime in Google Webmaster Central Blog.
How to install
Use composer!
composer require php-middleware/maintenance
This package require PSR-17 message factory implementation to return SEO friendly response.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].