irsyadulibad / ci4-datatables

Server Side Datatables Library for CodeIgniter 4 Framework

Home Page:https://ci4-datatables.netlify.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ci4-datatables

Donate Donate

GitHub GitHub repo size Hits Packagist Downloads Testing Status

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

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

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

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

Author's Profile:

Github: [https://github.com/irsyadulibad]
Website: [http://irsyadulibad.my.id]
Facebook: [https://facebook.com/irsyadulibad.dev]

About

Server Side Datatables Library for CodeIgniter 4 Framework

https://ci4-datatables.netlify.app

License:MIT License


Languages

Language:PHP 100.0%