PHPackages                             narmafzam/custom-table - 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. narmafzam/custom-table

ActiveProject

narmafzam/custom-table
======================

1.1.5(6y ago)045proprietaryPHPPHP ^7.2

Since Jul 3Pushed 6y agoCompare

[ Source](https://github.com/narmafzam/custom-table)[ Packagist](https://packagist.org/packages/narmafzam/custom-table)[ RSS](/packages/narmafzam-custom-table/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (17)Used By (0)

About Custom Tables
===================

[](#about-custom-tables)

Custom Tables (CT) is a WordPress developers toolkit to handle custom database table workflow similar to WordPress CPT.

Check [example.php](./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](https://gamipress.com) 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)
---------------------------

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

Plugins
-------

[](#plugins)

- [Ajax List Table](https://github.com/rubengc/ct-ajax-list-table): Utility to render a Custom Tables (CT) List Table with ajax searching and pagination.
- [Rest API Docs](https://github.com/rubengc/ct-rest-api-docs): Rest API docs generator for Custom Tables (CT).

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 61.8% 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 ~15 days

Recently: every ~56 days

Total

16

Last Release

2272d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9f8feefe1362255b1ecdb1e082140f5011c1da184bf5ee6f1e1720213369d4a8?d=identicon)[narmafzam](/maintainers/narmafzam)

---

Top Contributors

[![Farshadi73](https://avatars.githubusercontent.com/u/30201402?v=4)](https://github.com/Farshadi73 "Farshadi73 (34 commits)")[![rubengc](https://avatars.githubusercontent.com/u/5462480?v=4)](https://github.com/rubengc "rubengc (21 commits)")

### Embed Badge

![Health badge](/badges/narmafzam-custom-table/health.svg)

```
[![Health](https://phpackages.com/badges/narmafzam-custom-table/health.svg)](https://phpackages.com/packages/narmafzam-custom-table)
```

PHPackages © 2026

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