PHPackages                             irsyadulibad/codeigniter4-datatables - 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. [Framework](/categories/framework)
4. /
5. irsyadulibad/codeigniter4-datatables

ActiveLibrary[Framework](/categories/framework)

irsyadulibad/codeigniter4-datatables
====================================

Server side DataTables library for CodeIgniter4 framework

3.0.0(4y ago)702.4k↓50%32[9 issues](https://github.com/irsyadulibad/ci4-datatables/issues)[1 PRs](https://github.com/irsyadulibad/ci4-datatables/pulls)MITPHPPHP &gt;=7.2

Since Mar 26Pushed 3y ago6 watchersCompare

[ Source](https://github.com/irsyadulibad/ci4-datatables)[ Packagist](https://packagist.org/packages/irsyadulibad/codeigniter4-datatables)[ RSS](/packages/irsyadulibad-codeigniter4-datatables/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)Dependencies (4)Versions (7)Used By (0)

ci4-datatables
==============

[](#ci4-datatables)

[![Donate](https://camo.githubusercontent.com/d47cdb766a100070d38a702d9c7760ccc8052063484e1478a26bcd16680d33af/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f6e6174652d70617970616c2d626c75652e737667)](https://www.paypal.me/irsyadulibad7)[![Donate](https://camo.githubusercontent.com/c230eba15b7c6213a777fa29eaa0f8b47a3593afe9151fd3aa816e9b05cef716/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f6e6174652d6b6f66692d626c75652e737667)](https://ko-fi.com/irsyadulibad)

[![GitHub](https://camo.githubusercontent.com/da2612a1480bb38476a9d87f2f2398af51b2273a1784643b6d8b6a70be05398e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f697273796164756c696261642f6369342d646174617461626c6573)](https://camo.githubusercontent.com/da2612a1480bb38476a9d87f2f2398af51b2273a1784643b6d8b6a70be05398e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f697273796164756c696261642f6369342d646174617461626c6573)[![GitHub repo size](https://camo.githubusercontent.com/b38c40566798caa7c356fceaca968e07b15c6f7bc6f055599001d839bed043d1/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7265706f2d73697a652f697273796164756c696261642f6369342d646174617461626c65733f6c6162656c3d73697a65)](https://camo.githubusercontent.com/b38c40566798caa7c356fceaca968e07b15c6f7bc6f055599001d839bed043d1/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7265706f2d73697a652f697273796164756c696261642f6369342d646174617461626c65733f6c6162656c3d73697a65)[![Hits](https://camo.githubusercontent.com/9147960e1a78f893bd6000ac7fd48a8112769913cda86d664dcdb98f7d74ba19/68747470733a2f2f686974732e736565796f756661726d2e636f6d2f6170692f636f756e742f696e63722f62616467652e7376673f75726c3d697273796164756c696261642f6369342d646174617461626c6573)](https://camo.githubusercontent.com/9147960e1a78f893bd6000ac7fd48a8112769913cda86d664dcdb98f7d74ba19/68747470733a2f2f686974732e736565796f756661726d2e636f6d2f6170692f636f756e742f696e63722f62616467652e7376673f75726c3d697273796164756c696261642f6369342d646174617461626c6573)[![Packagist Downloads](https://camo.githubusercontent.com/e11522a5c46da95340aa434926d3d31463dc524566ee945670decbe980f1261f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f697273796164756c696261642f636f646569676e69746572342d646174617461626c6573)](https://camo.githubusercontent.com/e11522a5c46da95340aa434926d3d31463dc524566ee945670decbe980f1261f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f697273796164756c696261642f636f646569676e69746572342d646174617461626c6573)[![Testing Status](https://github.com/irsyadulibad/ci4-datatables/workflows/tests/badge.svg)](https://github.com/irsyadulibad/ci4-datatables/workflows/tests/badge.svg)

Library that will speed up you to create serverside DataTables API using the CodeIgniter v4 framework.

```
return datatables('users')->make();

// With Codeigniter4 Query Builder
$query = db_connect()->table('table');
return datatables($query)->make();
```

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

[](#requirements)

- [CodeIgniter Framework v4](https://github.com/codeigniter4/CodeIgniter4)
- [JQuery DataTables](https://datatables.net)

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

[](#installation)

### Composer Installation

[](#composer-installation)

Installation is best done via Composer, you may use the following command:

> composer require irsyadulibad/codeigniter4-datatables

This will add the latest release of **codeigniter4-datatables** as a module to your project

### Manual Installation

[](#manual-installation)

Should you choose not to use Composer to install, you can download this repo, extract and rename this folder to **codeigniter4-datatables**. Then enable it by editing **app/Config/Autoload.php** and adding the **Irsyadulibad\\DataTables**namespace to the **$psr4** array. For example, if you copied it into **app/Libraries**:

```
    $psr4 = [
        'Config'      => APPPATH . 'Config',
        APP_NAMESPACE => APPPATH,
        'App'         => APPPATH,
        'Irsyadulibad\DataTables'   => APPPATH .'Libraries/codeigniter4-datatables/src',
    ];
```

Documentations
--------------

[](#documentations)

> make sure you match the documentation version with the library version you're using

- [Website](https://ci4-datatables.netlify.app)

Author's Profile:
-----------------

[](#authors-profile)

Github: \[\]
Website: \[\]
Facebook: \[\]

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 95.4% 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 ~102 days

Total

5

Last Release

1470d ago

Major Versions

2.1.1 → 3.0.02022-05-10

### Community

Maintainers

![](https://www.gravatar.com/avatar/41dacd29bc302ae2ff96cc32fe91f40af2915ecfbfae7aac63409d13d8fcaf1c?d=identicon)[irsyadulibad](/maintainers/irsyadulibad)

---

Top Contributors

[![irsyadulibad](https://avatars.githubusercontent.com/u/47577443?v=4)](https://github.com/irsyadulibad "irsyadulibad (83 commits)")[![aminrpg](https://avatars.githubusercontent.com/u/2221230?v=4)](https://github.com/aminrpg "aminrpg (2 commits)")[![dedihartono](https://avatars.githubusercontent.com/u/16358944?v=4)](https://github.com/dedihartono "dedihartono (2 commits)")

---

Tags

ci4-datatablescodeigniter4codeigniter4-datatablesdatatables-serversidecodeigniterdatatablesserver-side

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/irsyadulibad-codeigniter4-datatables/health.svg)

```
[![Health](https://phpackages.com/badges/irsyadulibad-codeigniter4-datatables/health.svg)](https://phpackages.com/packages/irsyadulibad-codeigniter4-datatables)
```

###  Alternatives

[composer/installers

A multi-framework Composer library installer

1.4k136.0M6.0k](/packages/composer-installers)[abydahana/aksara

Aksara is a CodeIgniter based CRUD Toolkit you can use to build complex applications become shorter, secure and more reliable just in a few lines of code. Serving both CMS or Framework, produce both HEADLESS (RESTful API) or TRADITIONAL (Browser Based), just by writing single controller. Yet it's reusable, scalable and ready to use!

1101.2k](/packages/abydahana-aksara)[luthier/luthier

Improved routing, middleware support, authentication tools and more for CodeIgniter 3 framework

150108.8k](/packages/luthier-luthier)[michalsn/codeigniter-htmx

HTMX helper for CodeIgniter 4 framework

8140.9k](/packages/michalsn-codeigniter-htmx)[codeigniter/phpstan-codeigniter

CodeIgniter extensions and rules for PHPStan

17457.2k30](/packages/codeigniter-phpstan-codeigniter)[m1ome/phalcon-datatables

DataTables adapter for Phalcon Framework

4943.2k](/packages/m1ome-phalcon-datatables)

PHPackages © 2026

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