PHPackages                             threadi/easy-settings-for-wordpress - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. threadi/easy-settings-for-wordpress

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

threadi/easy-settings-for-wordpress
===================================

Provides a settings wrapper for WordPress plugins and themes.

2.2.2(1mo ago)23.8k↑87.5%[2 issues](https://github.com/threadi/easy-settings-for-wordpress/issues)GPL-3.0-or-laterPHPPHP ^8.0CI failing

Since Apr 18Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/threadi/easy-settings-for-wordpress)[ Packagist](https://packagist.org/packages/threadi/easy-settings-for-wordpress)[ RSS](/packages/threadi-easy-settings-for-wordpress/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (10)Dependencies (28)Versions (152)Used By (0)

Easy Settings for WordPress
===========================

[](#easy-settings-for-wordpress)

This composer packages add a simple wrapper for settings for WordPress plugins and themes.

Requirements
------------

[](#requirements)

- composer

Installation
------------

[](#installation)

`composer require threadi/easy-settings-for-wordpress`

Usage
-----

[](#usage)

*TODO*

### Upgrade hints

[](#upgrade-hints)

#### for 3.0.0

[](#for-300)

- remove do\_not\_register() from TextInfo() and Value() fields
- remove set\_type() from Checkbox() fields
- use add\_data() instead of set\_custom\_attributes() for Import and Export buttons

### Sorting

[](#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 -&gt; use Setting-&gt;`move_before_setting()` to move a setting on a specific position

### Migrate the method settings will be saved

[](#migrate-the-method-settings-will-be-saved)

The package supports saving settings in various ways, which are referred to here as "methods." If you want to switch from one method to another in your plugin, there is a function that can help you do so.

#### Methods

[](#methods)

- Simple =&gt; saves every setting in its own entry on the options table
- One =&gt; saves all settings in one entry on the options table

#### Migrate

[](#migrate)

Example to migrate from "Simple" to "One":

`$settings_obj->migrate_method( 'simple', 'one' );`

Hint: you should have already been set the new method as active method by using the following code:

`$settings_obj->set_method( 'one' );`

### Error handling

[](#error-handling)

Get all errors:

`$settings_obj->get_errors();`

For changes of this package
---------------------------

[](#for-changes-of-this-package)

### Check for WordPress Coding Standards

[](#check-for-wordpress-coding-standards)

#### Initialize

[](#initialize)

`composer install`

#### Run

[](#run)

`vendor/bin/phpcs --extensions=php --ignore=*/vendor/* --standard=WordPress .`

#### Repair

[](#repair)

`vendor/bin/phpcbf --extensions=php --ignore=*/vendor/* --standard=WordPress .`

Check for WordPress VIP Coding Standards
----------------------------------------

[](#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

[](#run-1)

`vendor/bin/phpcs --extensions=php --ignore=*/vendor/* --standard=WordPress-VIP-Go .`

###  Health Score

44

—

FairBetter than 90% of packages

Maintenance70

Regular maintenance activity

Popularity25

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~6 days

Recently: every ~16 days

Total

65

Last Release

52d ago

Major Versions

1.18.1 → 2.0.0-beta2026-03-19

### Community

Maintainers

![](https://www.gravatar.com/avatar/e7a1a0cb36bcd1de4fc890549902fe36e51f89dd126fb83f0dba09a4d5ecdfb7?d=identicon)[threadi](/maintainers/threadi)

---

Top Contributors

[![threadi](https://avatars.githubusercontent.com/u/16623633?v=4)](https://github.com/threadi "threadi (202 commits)")

---

Tags

wordpress

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/threadi-easy-settings-for-wordpress/health.svg)

```
[![Health](https://phpackages.com/badges/threadi-easy-settings-for-wordpress/health.svg)](https://phpackages.com/packages/threadi-easy-settings-for-wordpress)
```

###  Alternatives

[laraveljutsu/zap

A flexible, performant, and developer-friendly schedule management system for Laravel

1.5k141.6k1](/packages/laraveljutsu-zap)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
