PHPackages                             xwoo/data-type-admin - 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. [Admin Panels](/categories/admin)
4. /
5. xwoo/data-type-admin

ActiveLibrary[Admin Panels](/categories/admin)

xwoo/data-type-admin
====================

v1.0.2(10mo ago)03[1 issues](https://github.com/x-wp/wc-data-type-admin/issues)GPL-2.0PHPPHP &gt;=8.0CI passing

Since Apr 16Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/x-wp/wc-data-type-admin)[ Packagist](https://packagist.org/packages/xwoo/data-type-admin)[ GitHub Sponsors](https://github.com/seebeen)[ RSS](/packages/xwoo-data-type-admin/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (10)Versions (7)Used By (0)

WC Data Type Admin
==================

[](#wc-data-type-admin)

### Admin list-page utilities for WooCommerce data types

[](#admin-list-page-utilities-for-woocommerce-data-types)

[![Packagist Version](https://camo.githubusercontent.com/eeffb5c8be994f63bf72ec4adc32c9846a0f22e5bf1af011288660ab8d774a21/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f782d77702f77632d646174612d747970652d61646d696e3f6c6162656c3d52656c65617365267374796c653d666c61742d737175617265)](https://packagist.org/packages/x-wp/wc-data-type-admin)[![Packagist PHP Version](https://camo.githubusercontent.com/ff3a8aa83db04746f2981a9e5d4bc9f1381ffd2e5a89611a22cb0dae2e36951f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f782d77702f77632d646174612d747970652d61646d696e2f7068703f6c6162656c3d504850266c6f676f3d706870266c6f676f436f6c6f723d7768697465266c6f676f53697a653d6175746f267374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/ff3a8aa83db04746f2981a9e5d4bc9f1381ffd2e5a89611a22cb0dae2e36951f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f782d77702f77632d646174612d747970652d61646d696e2f7068703f6c6162656c3d504850266c6f676f3d706870266c6f676f436f6c6f723d7768697465266c6f676f53697a653d6175746f267374796c653d666c61742d737175617265)[![Static Badge](https://camo.githubusercontent.com/7be7af0284a72836b9704a9175b22941064f2f75103093077829e5ef6538ab5e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f57502d253345253344362e392e342d3338353865393f7374796c653d666c61742d737175617265266c6f676f3d776f72647072657373266c6f676f53697a653d6175746f)](https://camo.githubusercontent.com/7be7af0284a72836b9704a9175b22941064f2f75103093077829e5ef6538ab5e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f57502d253345253344362e392e342d3338353865393f7374796c653d666c61742d737175617265266c6f676f3d776f72647072657373266c6f676f53697a653d6175746f)[![Static Badge](https://camo.githubusercontent.com/1096617f99162265b3f4af7dbbebc42f0de54d2e08efb0f1fd10239efde1428c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f57432d25334525334431302e362e312d3766353462333f7374796c653d666c61742d737175617265266c6f676f3d776f6f636f6d6d65726365266c6f676f53697a653d6175746f)](https://camo.githubusercontent.com/1096617f99162265b3f4af7dbbebc42f0de54d2e08efb0f1fd10239efde1428c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f57432d25334525334431302e362e312d3766353462333f7374796c653d666c61742d737175617265266c6f676f3d776f6f636f6d6d65726365266c6f676f53697a653d6175746f)

This library provides admin list-page and list-table utilities for custom WooCommerce data types defined with [`x-wp/wc-data-type`](https://github.com/x-wp/wc-data-type). Define a data type once, then get a consistent admin listing experience with minimal boilerplate.

Key Features
------------

[](#key-features)

1. **List page handling**: Register admin pages for custom data types with `List_Page_Handler`.
2. **WooCommerce-style list tables**: Extend `List_Table` for a familiar `WP_List_Table` workflow tuned for WooCommerce objects.
3. **Shared mixins**: Reusable list-table behaviors via `src/Mixins/*`.
4. **Legacy compatibility**: Wrappers (`XWC_Data_List_Page`, `XWC_Data_List_Table`) keep existing consumers working.
5. **WordPress-native integration**: Designed for plugin code already built around WordPress and WooCommerce lifecycles.

Installation
------------

[](#installation)

You can install this package via Composer:

```
composer require x-wp/wc-data-type-admin
```

Tip

We recommend using `automattic/jetpack-autoloader` with this package to reduce autoloading conflicts in WordPress environments.

Package Structure
-----------------

[](#package-structure)

- `src/List_Page_Handler.php`: admin page handler with DI-based table resolution
- `src/List_Table.php`: base table implementation shared by legacy and new flows
- `src/Mixins/*`: shared list-table behaviors
- `src/Core/*`: legacy compatibility wrappers
- `templates/html-admin-page-edsl.php`: shared admin page template

Testing
-------

[](#testing)

Regression checks:

```
php tests/regressions.php
```

Static analysis:

```
php -d memory_limit=1G vendor/bin/phpstan analyse --debug
```

Note

The regression script is intentionally lightweight and does not require a full WordPress test bootstrap. PHPStan is configured conservatively for this library; in constrained environments, `--debug` is the verified non-parallel invocation path.

Documentation
-------------

[](#documentation)

For package-specific usage, start with the public entrypoints:

- `XWC\Data\Admin\List_Page_Handler`
- `XWC\Data\Admin\List_Table`
- `XWC_Data_List_Page` (legacy)
- `XWC_Data_List_Table` (legacy)

Additional project information is available in the [repository](https://github.com/x-wp/wc-data-type-admin).

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance75

Regular maintenance activity

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

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

Total

5

Last Release

329d ago

PHP version history (2 changes)v1.0.0-alpha.1PHP &gt;= 8.1

v1.0.0-alpha.2PHP &gt;=8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/4e3e2c5c2a7213ea8542c27eadd05e03f7b35fda01817c3807c13e1c733bfde5?d=identicon)[oblak](/maintainers/oblak)

---

Top Contributors

[![seebeen](https://avatars.githubusercontent.com/u/6689756?v=4)](https://github.com/seebeen "seebeen (15 commits)")

---

Tags

librarywoocommercewordpress

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/xwoo-data-type-admin/health.svg)

```
[![Health](https://phpackages.com/badges/xwoo-data-type-admin/health.svg)](https://phpackages.com/packages/xwoo-data-type-admin)
```

###  Alternatives

[jeroennoten/laravel-adminlte

Easy AdminLTE integration with Laravel

4.0k4.8M43](/packages/jeroennoten-laravel-adminlte)[dmstr/yii2-adminlte-asset

AdminLTE backend theme asset bundle for Yii 2.0 Framework

1.1k1.8M67](/packages/dmstr-yii2-adminlte-asset)[dwij/laraadmin

LaraAdmin is a Open source Laravel Admin Panel / CMS which can be used as Admin Backend, Data Management Tool or CRM boilerplate for Laravel with features like CRUD Generation, Module Manager, Media, Menus, Backups and much more

1.6k68.7k](/packages/dwij-laraadmin)[filament/spatie-laravel-media-library-plugin

Filament support for `spatie/laravel-medialibrary`.

1764.8M125](/packages/filament-spatie-laravel-media-library-plugin)[bezhansalleh/filament-exceptions

A Simple &amp; Beautiful Pluggable Exception Viewer for FilamentPHP's Admin Panel

193195.9k13](/packages/bezhansalleh-filament-exceptions)[filament/infolists

Easily add beautiful read-only infolists to any Livewire component.

1220.8M36](/packages/filament-infolists)

PHPackages © 2026

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