thewebsolver/tws-setting-framework
Composer 安装命令:
composer require thewebsolver/tws-setting-framework
包简介
WordPress Settings (Options) API framework to manage core WordPress Settings API easily.
README 文档
README
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
Recommended Setup
This plugin is developed using:
- Code Editor - Visual Studio Code (VS Code) - Loved by most developers for coding.
- VS Code extension - WordPress Snippets - Snippets for every WordPress function, class and constant.
- VS Code extension - PHP Intelephense - Essential features for productive PHP development.
- VS Code extension - Comment Anchors - Find anchors for WordPress Action & Filter hooks (and other anchors too) added in this framework's files.
- VS Code Font - Fira Code - Free monospaced font with programming ligatures. Set it from VS Code font family.
- WordPress Plugin - Show Hooks - See visual representation of WordPess action and filter hooks.
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
-
This framework uses PHP Namespace:
namespace TheWebSolver\Core\Setting;
Examples
- For exmaple codes, check EXAMPLE file.
Screenshots
General Fields
Text, number, textarea, radio, checkbox, select fields
Advanced Fields
Multi selection fields, wysiwyg, password, color fields
Stylized Fields
Fields that are applied custom styling, Select2 library for select fields.
License
Distributed under the GNU General Public License v3.0 (or later) License. See LICENSE file for more information.
Contact
---------------------------------- DEVELOPED-MAINTAINED-SUPPPORTED BY ---------------------------------- ███║ ███╗ ████████████████ ███║ ███║ ═════════██████╗ ███║ ███║ ╔══█████═╝ ████████████║ ╚═█████ ███║═════███║ █████╗ ███║ ███║ █████═╝ ███║ ███║ ████████████████╗ ╚═╝ ╚═╝ ═══════════════╝
Shesh Ghimire - @hsehszroc
Acknowledegement
This project uses base for Settings_API from wordpress-settings-api-class.
thewebsolver/tws-setting-framework 适用场景与选型建议
thewebsolver/tws-setting-framework 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 110 次下载、GitHub Stars 达 8, 最近一次更新时间为 2021 年 03 月 12 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 thewebsolver/tws-setting-framework 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 thewebsolver/tws-setting-framework 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 110
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 8
- 点击次数: 11
- 依赖项目数: 1
- 推荐数: 2
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2021-03-12


