WP Manifestindependent plugin directory
manifest / developer / wp-common

WordPress Common Library

Useful common classes for WordPress development

by humanik · github.com/humanik/wp-common

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/humanik/wp-common/archive/refs/heads/main.zip

Useful common classes for WordPress development.

Installation

composer require humanik/wp-common

Configuration

The library provides a set of common utilities and helpers for WordPress development.

Usage

Documentation coming soon.

Development

Requirements

  • PHP 8.3 or higher
  • Composer
  • Node.js and npm

Setup

  1. Install PHP dependencies:
composer install
  1. Install JavaScript dependencies:
npm install

Running

Start the development environment:

npm start

Testing

Run PHP tests:

npm test

Linting

Run PHP linting:

composer phpcs

Fix PHP code style issues:

composer phpcbf

Run static analysis:

composer phpstan

License

GPL-2.0-or-later