threadi / easy-settings-for-wordpress
Provides a settings wrapper for WordPress plugins and themes.
Package info
github.com/threadi/easy-settings-for-wordpress
pkg:composer/threadi/easy-settings-for-wordpress
Requires
- php: ^8.0
- threadi/easy-dialog-for-wordpress: ^1.0.2
Requires (Dev)
- automattic/vipwpcs: ^3.0
- dealerdirect/phpcodesniffer-composer-installer: ^1.2
- php-stubs/wp-cli-stubs: ^2.11
- phpcompatibility/phpcompatibility-wp: ^2.1
- phpstan/extension-installer: ^1.4
- phpstan/phpstan: ^2.1
- szepeviktor/phpstan-wordpress: ^2.0
- wp-coding-standards/wpcs: ^3.1.0
- wp-phpunit/wp-phpunit: ^6.3
- yoast/phpunit-polyfills: ^1.0
This package is auto-updated.
Last update: 2026-06-27 07:16:43 UTC
README
This composer packages add a simple wrapper for settings for WordPress plugins and themes.
Requirements
- composer
Installation
composer require threadi/easy-settings-for-wordpress
Usage
TODO
Sorting
- Pages are not sortable
- Tabs are sorted by its given position
- Sections are sorted by its given position
- Settings are sorted in the order they are added
-> use Setting->
move_before_setting()to move a setting on a specific position
For changes of this package
Check for WordPress Coding Standards
Initialize
composer install
Run
vendor/bin/phpcs --extensions=php --ignore=*/vendor/* --standard=WordPress .
Repair
vendor/bin/phpcbf --extensions=php --ignore=*/vendor/* --standard=WordPress .
Check for WordPress VIP Coding Standards
Hint: this check runs against the VIP-GO-platform which is not our target for this package. Many warnings can be ignored.
Run
vendor/bin/phpcs --extensions=php --ignore=*/vendor/* --standard=WordPress-VIP-Go .