A set of simple tools to help manage staging websites
studio24/staging-site is a Laravel package for a set of simple tools to help manage staging websites .
It currently has 0 GitHub stars and 90 downloads on Packagist (latest version v0.1.3).
Install it with composer require studio24/staging-site.
Discover more Laravel packages by studio24
or browse all Laravel packages to compare alternatives.
Last updated
A set of simple tools to help manage staging websites, designed for PHP-powered websites.
When creating or updating a website it's a good idea to publish changes to a staging environment to review before going live.
This package adds the following simple tools to a staging site:
It has support for WordPress, Craft CMS, Laravel, Symfony and plain PHP integration.
The staging site login page is a replacement for basic authentication, which doesn't play well with password managers and is blocked by some client systems.
By default, the login cookie is set to expire after 7 days. The cookie that is used to remember your staging website login also uses your user agent string. If your user agent changes, then you are also logged out.
You can pass the GET parameter ?staging_site_logout=1 to any URL on your staging website to log the user out.
To effectively stop a staging or development website appearing in search engine results we need to:
We can block staging sites from being indexed via the HTTP header X-Robots-Tag:
X-Robots-Tag: "noindex, nofollow"
This package adds this header to all requests on a staging site.
See the documentation for instructions on how to install this on your website.
You can test the staging login via:
php -S localhost:8000 -t tests/website
Access http://localhost:8000 and use the staging password test123
You can run unit tests via:
composer test
Please see CHANGELOG for more information on what has changed recently.
Find out more about how to contribute and our Code of Conduct.
If you discover a security vulnerability within this package, please follow our disclosure procedure.
This package is developed by Studio 24, a human-centered digital agency who build websites and web apps that work for everyone.
The MIT License (MIT). Please see License File for more information.