humanik / wp-common
Useful common classes for WordPress development
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/humanik/wp-common
Requires
- php: >=8.3
- ext-json: *
- illuminate/container: ^12.48
- illuminate/support: ^12.48
- johnbillion/args: ^2.3
Requires (Dev)
- automattic/vipwpcs: ^3.0
- dealerdirect/phpcodesniffer-composer-installer: ^1.0
- johnpbloch/wordpress: ^6.9
- php-stubs/acf-pro-stubs: ^6.5
- php-stubs/wordpress-stubs: ^6.8
- phpcompatibility/phpcompatibility-wp: ^2.1
- phpstan/phpstan: ^1.10 | ^2.1
- phpunit/phpunit: ^9.6
- slevomat/coding-standard: ^8.0
- squizlabs/php_codesniffer: ^3.7
- szepeviktor/phpstan-wordpress: ^2.0
- wp-cli/wp-cli: ^2.12
- wp-coding-standards/wpcs: ^3.0
- wp-phpunit/wp-phpunit: ^6.8
- yoast/phpunit-polyfills: ^4.0
This package is auto-updated.
Last update: 2026-01-31 17:35:04 UTC
README
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
- 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