Netlogpro / performance

Performance plugin from the WordPress Performance Group, which is a collection of standalone performance modules.

Home Page:https://wordpress.org/plugins/performance-lab/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Performance Lab

Performance Lab plugin banner with icon

Monorepo for the WordPress Performance Group, primarily for the Performance Lab plugin, which is a collection of standalone performance modules.

Learn more about the Performance Lab plugin.

Quick Start

To get started with contributing to the Performance Lab project:

  1. Fork the repository.
  2. Clone the fork locally.
  3. Run composer install in the project folder.
  4. Run npm install in the project folder.
  5. Start the development environment by running npm run wp-env start.
  6. Go to http://localhost:8888/wp-admin/ in your browser.
  7. Log in using admin and password.

See the section below for more details on how the environment works.
More details about getting started here.

Useful commands

In order to run the following commands, you need to have Node.js (including npm) and Docker installed, and Docker needs to be up and running. The Docker configuration used relies on the @wordpress/env package.

  • npm install: Installs local development dependencies.
  • npm run wp-env start: Starts the local development environment.
  • npm run wp-env stop: Stops the local development environment.
  • npm run lint-php: Lints all PHP code.
  • npm run format-php: Formats all PHP code.
  • npm run test-php: Runs PHPUnit tests for all PHP code.
  • npm run test-php-multisite: Runs PHPUnit tests in multisite for all PHP code.

Documentation

See the /docs folder for documentation.

About

Performance plugin from the WordPress Performance Group, which is a collection of standalone performance modules.

https://wordpress.org/plugins/performance-lab/

License:GNU General Public License v2.0


Languages

Language:PHP 90.7%Language:JavaScript 9.3%Language:Shell 0.0%