PHPackages                             wpbones/wptables - 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. wpbones/wptables

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

wpbones/wptables
================

A fluent implementation of WordPress WP List Table for WP Bones

1.0.6(1y ago)42.5k2MITPHP

Since Dec 27Pushed 11mo ago1 watchersCompare

[ Source](https://github.com/wpbones/wptables)[ Packagist](https://packagist.org/packages/wpbones/wptables)[ Docs](https://github.com/wpbones/wptables)[ RSS](/packages/wpbones-wptables/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (9)Used By (0)

WP Tables for WP Bones
======================

[](#wp-tables-for-wp-bones)

[![Latest Stable Version](https://camo.githubusercontent.com/4eeb8878361562c07be5274fcdb2ff717168caec65b22f64da0645e1defe3c6d/68747470733a2f2f706f7365722e707567782e6f72672f7770626f6e65732f77707461626c65732f762f737461626c653f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/wpbones/wptables) [![Latest Unstable Version](https://camo.githubusercontent.com/a171286c4433155e7adc78209d9202a9108cb1ff36ea33c0ba8d52b9d6a589a1/68747470733a2f2f706f7365722e707567782e6f72672f7770626f6e65732f77707461626c65732f762f756e737461626c653f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/wpbones/wptables) [![Total Downloads](https://camo.githubusercontent.com/ca82612e8d5cd2afbb57851f3f1dd589dc8736033639016568dd5e8038945a4f/68747470733a2f2f706f7365722e707567782e6f72672f7770626f6e65732f77707461626c65732f646f776e6c6f6164733f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/wpbones/wptables) [![License](https://camo.githubusercontent.com/48d0e110218ffe75482e8a6a97b1a2d5a975e78ad8dcca7f2351aeb7598b2f58/68747470733a2f2f706f7365722e707567782e6f72672f7770626f6e65732f77707461626c65732f6c6963656e73653f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/wpbones/wptables) [![Monthly Downloads](https://camo.githubusercontent.com/e78c218359c591d12bf1b894872d0086f08fbad3b906de9428bbc795bc3f1650/68747470733a2f2f706f7365722e707567782e6f72672f7770626f6e65732f77707461626c65732f642f6d6f6e74686c793f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/wpbones/wptables)

 [ ![](https://camo.githubusercontent.com/a0cfc90baddd50fcac334c2587e586693628bae30ebac1f0e33cf0048aa18d46/68747470733a2f2f636f6e747269622e726f636b732f696d6167653f7265706f3d7770626f6e65732f77707461626c6573) ](https://github.com/wpbones/wptables/graphs/contributors)

[![images](https://github.com/wpbones/wptables/wiki/images/screenshot-1.png)](https://github.com/wpbones/wptables/wiki/images/screenshot-1.png)

A fluent implementation of WordPress WP List Table for WP Bones

Requirements
------------

[](#requirements)

This package works with a WordPress plugin written with [WP Bones framework library](https://github.com/wpbones/WPBones).

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

[](#installation)

You can install third party packages by using:

```
php bones require wpbones/wptables
```

I advise to use this command instead of `composer require` because doing this an automatic renaming will done.

You can use composer to install this package:

```
composer require wpbones/wptables
```

You may also to add `"wpbones/wptables": "^1.0"` in the `composer.json` file of your plugin:

```
  "require": {
    "php": ">=7.4",
    "wpbones/wpbones": "~0.8",
    "wpbones/wptables": "~1.0"
  },
```

and run

```
composer install
```

How to
------

[](#how-to)

You can use WP Tables either like subclass or like fluent class instance.

### Subclassing

[](#subclassing)

As subclass class instance you may create a your own class as show below:

```
