All Projects → roots → Wp Stage Switcher

roots / Wp Stage Switcher

Licence: mit
WordPress plugin that allows you to switch between different environments from the admin bar

Projects that are alternatives of or similar to Wp Stage Switcher

wp-graphql-wpml
a wordpress plugin that improves wpgraphql usage together with wpml
Stars: ✭ 28 (-90.85%)
Mutual labels:  wordpress-plugin
Wp Graphql
🚀 GraphQL API for WordPress
Stars: ✭ 3,097 (+912.09%)
Mutual labels:  wordpress-plugin
Wp Graphiql
GraphiQL IDE, fine tuned for use with WPGraphQL
Stars: ✭ 284 (-7.19%)
Mutual labels:  wordpress-plugin
WordPress-IP-Geo-Block
A WordPress plugin that will blocks any comment, pingback and trackback spams posted from outside your nation. And it will also protect against malicious access to the login form, admin area and XML-RPC from undesired countries.
Stars: ✭ 26 (-91.5%)
Mutual labels:  wordpress-plugin
Github Updater
This WP plugin will update GitHub, Bitbucket, GitLab, and Gitea hosted plugins and themes
Stars: ✭ 2,893 (+845.42%)
Mutual labels:  wordpress-plugin
Create Guten Block
📦 A zero-configuration #0CJS developer toolkit for building WordPress Gutenberg block plugins.
Stars: ✭ 3,040 (+893.46%)
Mutual labels:  wordpress-plugin
atum-stock-manager-for-woocommerce
The ultimate stock management plugin for serious WooCommerce Sellers.
Stars: ✭ 16 (-94.77%)
Mutual labels:  wordpress-plugin
Mainwp
The MainWP Dashboard is an open source self-hosted WordPress management plugin that allows you to maintain virtually all aspects of multiple WordPress sites.
Stars: ✭ 295 (-3.59%)
Mutual labels:  wordpress-plugin
Anspress
AnsPress is the most complete question and answer system for WordPress. AnsPress is made with developers in mind, highly customizable. AnsPress provide an easy to use override system for theme
Stars: ✭ 264 (-13.73%)
Mutual labels:  wordpress-plugin
Awesome Woocommerce
Plugins and code snippets to improve your WooCommerce store.
Stars: ✭ 279 (-8.82%)
Mutual labels:  wordpress-plugin
event-tickets
Event Tickets allows your visitors to RSVP and buy tickets to events on your site. Also works seamlessly with The Events Calendar.
Stars: ✭ 60 (-80.39%)
Mutual labels:  wordpress-plugin
Papi
🚀 WordPress Page Type API with custom fields
Stars: ✭ 258 (-15.69%)
Mutual labels:  wordpress-plugin
Generator Plugin Wp
Yeoman WordPress Plugin Generator
Stars: ✭ 270 (-11.76%)
Mutual labels:  wordpress-plugin
wp-gdpr-cookie-notice
Simple performant cookie consent notice that supports AMP, Web Stories, granular cookie control and live preview customization.
Stars: ✭ 17 (-94.44%)
Mutual labels:  wordpress-plugin
Acorn
WordPress plugin framework with support for key Laravel components
Stars: ✭ 286 (-6.54%)
Mutual labels:  wordpress-plugin
custom-permalinks
Set custom permalinks on a per-post basis in WordPress
Stars: ✭ 17 (-94.44%)
Mutual labels:  wordpress-plugin
Awesome Gravity Forms
A collection of third party add-ons for Gravity Forms plugin.
Stars: ✭ 267 (-12.75%)
Mutual labels:  wordpress-plugin
Wp Reactivate
React boilerplate for WordPress plugins
Stars: ✭ 303 (-0.98%)
Mutual labels:  wordpress-plugin
Minit
A WordPress plugin to combine CSS and Javascript files.
Stars: ✭ 293 (-4.25%)
Mutual labels:  wordpress-plugin
Admin Page Framework
Facilitates WordPress plugin and theme development.
Stars: ✭ 273 (-10.78%)
Mutual labels:  wordpress-plugin

WordPress Stage Switcher

Packagist Packagist Downloads

A WordPress plugin that allows you to switch between different environments from the admin bar.

WordPress Stage Switcher

Requirements

You'll need to have ENVIRONMENTS and WP_ENV defined in your WordPress config.

The ENVIRONMENTS constant must be a serialized array of 'environment' => 'url' elements:

$envs = [
  'development' => 'http://example.dev',
  'staging'     => 'http://staging.example.com',
  'production'  => 'http://example.com'
];
define('ENVIRONMENTS', serialize($envs));

Note: the serialize() call is not needed on PHP 7.0 or newer.

WP_ENV must be defined as the current environment:

define('WP_ENV', 'development');

If you use Bedrock, WP_ENV is already defined in the config.

Installation

This plugin must be installed via Composer. Add wp-stage-switcher to your project's dependencies:

composer require roots/wp-stage-switcher

Or manually add it to your composer.json:

"require": {
  "php": ">=7.1",
  "roots/wordpress": "5.1.1",
  "roots/wp-stage-switcher": "~2.0"
}

Support

Use the Roots Discourse to ask questions and get support.

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].