Skip to content

Latest commit

 

History

History
53 lines (41 loc) · 1.08 KB

README.md

File metadata and controls

53 lines (41 loc) · 1.08 KB

Stage switcher for WordPress

Adds a menu to the admin bar to quickly identify different environments for a site (e.g. production and development) and easily switch to the same URL on other environments. Multi-site compatible for both sub-domain and sub-directory installations.

The plugin in action

Installation and configuration

Refer to the plugin readme file.

Development

Install development dependencies:

composer install

Codestyle, linting and static analysis

Check for syntax errors:

composer run cs:check

Perform code static analysis:

composer run analyse

Check for codestyle violations:

composer run cs:check

Automatically fix codestyle violations:

composer run cs:fix

Tests

Run unit tests:

composer run test

Run unit tests continuously:

composer run test:watch

Screenshots

The settings page The settings page

The settings page Adding the current environment to the list