PHPackages                             tnb/wp-setting-api - 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. tnb/wp-setting-api

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

tnb/wp-setting-api
==================

WordPress Setting API for developers

2.1.0(1y ago)821GPL-3.0-or-laterPHPPHP &gt;=5.6

Since Aug 23Pushed 1y agoCompare

[ Source](https://github.com/tnborg/wp-setting-api)[ Packagist](https://packagist.org/packages/tnb/wp-setting-api)[ Docs](https://github.com/tnb-labs/wp-setting-api)[ RSS](/packages/tnb-wp-setting-api/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (9)DependenciesVersions (10)Used By (0)

这是什么？
=====

[](#这是什么)

这是一个PHP类，它提供一种简洁的方式来使用 [WordPress Settings API](http://codex.wordpress.org/Settings_API)。 支持 PHP5.6 - 8.3

使用说明
====

[](#使用说明)

通过 `include_once 'API.php';` 或者 `composer require tnb/wp-setting-api` 来引入类文件。

参考 `wp-setting-api.php` 文件来了解如何使用，你可以把整个目录作为一个插件启用以预览各组件的效果。

License
=======

[](#license)

GPLv3 or later

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance40

Moderate activity, may be stable

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 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 ~62 days

Recently: every ~124 days

Total

9

Last Release

503d ago

Major Versions

1.0.4 → 2.0.02024-01-12

PHP version history (2 changes)1.0.0PHP &gt;=7.4

1.0.4PHP &gt;=5.6

### Community

Maintainers

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

---

Top Contributors

[![h2zi](https://avatars.githubusercontent.com/u/5967335?v=4)](https://github.com/h2zi "h2zi (18 commits)")

---

Tags

phpwordpresswordpress

### Embed Badge

![Health badge](/badges/tnb-wp-setting-api/health.svg)

```
[![Health](https://phpackages.com/badges/tnb-wp-setting-api/health.svg)](https://phpackages.com/packages/tnb-wp-setting-api)
```

###  Alternatives

[tgmpa/tgm-plugin-activation

TGM Plugin Activation is a PHP library that allows you to easily require or recommend plugins for your WordPress themes (and plugins).

1.8k222.5k13](/packages/tgmpa-tgm-plugin-activation)[aristath/kirki

Extending the WordPress customizer

1.3k73.0k4](/packages/aristath-kirki)[afragen/git-updater

A plugin to automatically update GitHub, Bitbucket, GitLab, or Gitea hosted plugins, themes, and language packs.

3.3k1.6k](/packages/afragen-git-updater)[justintadlock/hybrid-carbon

God-like post featured image script.

202.5k](/packages/justintadlock-hybrid-carbon)[typisttech/wp-admin-notices

A simplified OOP implementation of the WordPress admin notices

141.2k](/packages/typisttech-wp-admin-notices)

PHPackages © 2026

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