narmafzam/custom-table
Composer 安装命令:
composer create-project narmafzam/custom-table
包简介
README 文档
README
Custom Tables (CT) is a WordPress developers toolkit to handle custom database table workflow similar to WordPress CPT.
Check example.php file included on this project to see a few examples to get it working.
CT has been developed as internal library for GamiPress plugin in order to bring to GamiPress's logs and user earnings tables the same features as WordPress post types (admin UI, cached query, rest API endpoints, etc).
Important: CT public API is in development phase, this means current version is unstable and much of the current features will change. To use this library on live project be sure you know you are doing!
Contributions are really appreciated! Looking for help to standarize functions and hooks as well as for documentation.
Features (work in progress)
Custom table registration:
- Custom table registration (like registering a WordPress post type)
- Automatic table creation if not exists
- Easy field definition
- Schema parser
- Automatic schema updater (yay!)
- Ability to show or hide from admin UI (disable UI for a desired table)
- Custom Capabilities (with support for administrators)
- Meta data functionality
- Query class to handled cached queries (like WP_Query but for custom tables)
- Rest API support (custom table and meta data)
List view (with features similar to WP tables):
- Pagination
- Search
- Sortable Columns
- Bulk actions
- User screen settings
- List view views
- Trash functionality?
- Delete Permanently action
Edit View (similar to WP edit screen):
- Meta boxes
- Screen options
- Show hide Meta boxes
- Allow user to toggle view columns
- Allow define edit view columns (to force to 1 column)
- Delete Permanently action
Other features
- CMB2 support
- Documentation (help wanted!)
- Add WP Lib Loader to always load the newest version (http://jtsternberg.github.io/wp-lib-loader/)
Plugins
- Ajax List Table: Utility to render a Custom Tables (CT) List Table with ajax searching and pagination.
- Rest API Docs: Rest API docs generator for Custom Tables (CT).
narmafzam/custom-table 适用场景与选型建议
narmafzam/custom-table 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 45 次下载、GitHub Stars 达 0, 最近一次更新时间为 2019 年 07 月 01 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 narmafzam/custom-table 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 narmafzam/custom-table 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 45
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 10
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2019-07-01