server-side DataTables Library for CodeIgniter4 |
03-24-2021, 01:36 AM
(This post was last modified: 03-24-2021, 11:04 AM by hermawan.dev. Edit Reason: forget dependency for manual install missing )
Hello everyone..
I’ve created a library to implement the server-side DataTables for codeIgniter4. here the link github: https://github.com/hermawanramadhan/Code...ataTables/ documentation & example https://hermawan.dev/codeigniter4-datatables/welcome installation with composer (recommended) installing with composer is recommended because can automatic install dependency. Code: composer require hermawan/codeigniter4-datatables installation manual just download here https://github.com/hermawanramadhan/Code...s/releases add download dependency - this library require php-sql-parser. download here https://github.com/greenlion/PHP-SQL-Parser rename downloaded library to - php-sql-parser - codeigniter4-datatables then placed it let say to app/ThirdParty and then add namespace to $psr4 PHP Code: $psr4 = [ Example Controller code code is short and so easy. just use build-in CodeIgniter4 Query Builder PHP Code: <?php namespace App\Controllers; yeah. so many datatable library available on github but I think this will be easiest. because we use powerful build-in CodeIgniter4 query builder. Thanks Regards. Hermawan https://hermawan.dev |
Welcome Guest, Not a member yet? Register Sign In |