PHPackages                             thewebsolver/tws-setting-framework - 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. thewebsolver/tws-setting-framework

ActiveWordpress-plugin[Utility &amp; Helpers](/categories/utility)

thewebsolver/tws-setting-framework
==================================

WordPress Settings (Options) API framework to manage core WordPress Settings API easily.

2.1(4y ago)81101GPL-3.0-or-laterPHPPHP &gt;=7.0

Since Apr 8Pushed 4y agoCompare

[ Source](https://github.com/TheWebSolver/tws-setting-framework)[ Packagist](https://packagist.org/packages/thewebsolver/tws-setting-framework)[ RSS](/packages/thewebsolver-tws-setting-framework/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (3)DependenciesVersions (4)Used By (1)

[![GPL License](https://camo.githubusercontent.com/42aa83f6766665ced35459b40af0bced4446bf8d280f26158baf2542f47d9022/68747470733a2f2f7777772e676e752e6f72672f67726170686963732f67706c76332d6f722d6c617465722d736d2e706e67)](https://github.com/TheWebSolver/repo/blob/master/LICENSE.txt)[![LinkedIn](https://camo.githubusercontent.com/4a9b21dcb00c515dd02d1888eb884b662979bba1389ce8cf0e5436fd44ce41df/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c696e6b6564496e2d626c75653f7374796c653d666c61742d737175617265266c6f676f3d6c696e6b6564696e26636f6c6f723d626c7565)](https://www.linkedin.com/in/sheshgh/)

 [ ![Logo](images/logo.png) ](https://github.com/TheWebSolver/tws-setting-framework)

### TWS Setting Framework

[](#tws-setting-framework)

 CREATE ADMIN PAGES WITH SECTIONS -|- CONTENTS/FIELDS WITHIN EACH SECTION
 This plugin is a framework meant for creating settting pages and setting fields in WordPress admin dashboard.

Getting Started
---------------

[](#getting-started)

### Recommended Setup

[](#recommended-setup)

This plugin is developed using:

- [Code Editor - **Visual Studio Code (VS Code)**](https://code.visualstudio.com/download) - Loved by most developers for coding.
- [VS Code extension - **WordPress Snippets**](https://github.com/jason-pomerleau/vscode-wordpress-toolbox) - Snippets for every WordPress function, class and constant.
- [VS Code extension - **PHP Intelephense**](https://github.com/bmewburn/vscode-intelephense) - Essential features for productive PHP development.
- [VS Code extension - **Comment Anchors**](https://github.com/ExodiusStudios/vscode-comment-anchors) - Find anchors for WordPress **Action** &amp; **Filter** hooks (and other anchors too) added in this framework's files.
- [VS Code Font - **Fira Code**](https://github.com/tonsky/FiraCode) - Free monospaced font with programming ligatures. Set it from VS Code font family.
- [WordPress Plugin - **Show Hooks**](https://wordpress.org/plugins/show-hooks/) - See visual representation of WordPess action and filter hooks.

### Installation (via Composer)

[](#installation-via-composer)

Require framework file in `composer.json` file:

```
"require": {
		"thewebsolver/tws-setting-framework": "^2.0"
	}

```

Then from terminal, run:

```
$ composer install

```

Alternatively, install directly from CLI:

```
composer require thewebsolver/tws-setting-framework

```

Usage
-----

[](#usage)

- This framework uses PHP Namespace:

    ```
     namespace TheWebSolver\Core\Setting;
    ```

Examples
--------

[](#examples)

- For exmaple codes, check [EXAMPLE](https://github.com/TheWebSolver/tws-setting-framework/blob/master/EXAMPLE.md) file.

Screenshots
-----------

[](#screenshots)

### General Fields

[](#general-fields)

Text, number, textarea, radio, checkbox, select fields

[![simple](images/simple-fields-v2.png)](images/simple-fields-v2.png)

### Advanced Fields

[](#advanced-fields)

Multi selection fields, wysiwyg, password, color fields

[![advanced](images/advanced-fields-v2.png)](images/advanced-fields-v2.png)

### Stylized Fields

[](#stylized-fields)

Fields that are applied custom styling, Select2 library for select fields.

[![stylized](images/stylized-fields-v2.png)](images/stylized-fields-v2.png)

License
-------

[](#license)

Distributed under the GNU General Public License v3.0 (or later) License. See **[LICENSE](https://github.com/TheWebSolver/tws-setting-framework/blob/master/LICENSE)** file for more information.

Contact
-------

[](#contact)

[Top↑](#table-of-contents)

```
----------------------------------
DEVELOPED-MAINTAINED-SUPPPORTED BY
----------------------------------
███║     ███╗   ████████████████
███║     ███║   ═════════██████╗
███║     ███║        ╔══█████═╝
 ████████████║      ╚═█████
███║═════███║      █████╗
███║     ███║    █████═╝
███║     ███║   ████████████████╗
╚═╝      ╚═╝    ═══════════════╝
```

Shesh Ghimire - [@hsehszroc](https://twitter.com/hsehszroc)

Acknowledegement
----------------

[](#acknowledegement)

> This project uses base for Settings\_API from [wordpress-settings-api-class](https://github.com/tareq1988/wordpress-settings-api-class).

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity49

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

Total

2

Last Release

1782d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6921441544aa2b10de561f0bc8a785365ed6932f709ead6a6f31d7e2290e4c8c?d=identicon)[hsehszroc](/maintainers/hsehszroc)

---

Top Contributors

[![hsehszroc](https://avatars.githubusercontent.com/u/48177731?v=4)](https://github.com/hsehszroc "hsehszroc (2 commits)")

---

Tags

frameworkwordpress-admin-optionswordpress-admin-pagewordpress-frameworkwordpress-pluginwordpress-settingswordpress-settings-api

### Embed Badge

![Health badge](/badges/thewebsolver-tws-setting-framework/health.svg)

```
[![Health](https://phpackages.com/badges/thewebsolver-tws-setting-framework/health.svg)](https://phpackages.com/packages/thewebsolver-tws-setting-framework)
```

###  Alternatives

[suncat/mobile-detect-bundle

Symfony2/3/4 bundle for detect mobile devices, managing mobile view types, redirect to mobile version.

4035.3M7](/packages/suncat-mobile-detect-bundle)[snowdog/frontools

Set of front-end tools for Magento 2, based on Gulp.js

4241.3M1](/packages/snowdog-frontools)[spatie/laravel-dashboard

A dashboard for Laravel

568156.1k94](/packages/spatie-laravel-dashboard)[brick/schema

Schema.org library for PHP

5163.7k1](/packages/brick-schema)[ibericode/vat-bundle

Bundle for using ibericode/vat in a Symfony environment

21254.5k](/packages/ibericode-vat-bundle)[sylius/taxonomy

Taxonomies - categorization of domain models in PHP projects.

14435.6k10](/packages/sylius-taxonomy)

PHPackages © 2026

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