WordPress Common Library
Useful common classes for WordPress development
★ 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.zipUseful 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
- Install PHP dependencies:
composer install
- 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