{"repo":"n1crack/datatables","free":true,"listed":false,"github":"https://github.com/n1crack/datatables","clone":"git clone https://github.com/n1crack/datatables.git","description":"Simplify your Datatables server-side processing effortlessly using our lightning-fast PHP library, streamlining your workflow seamlessly.","language":"PHP","stars":274,"topics":["datatables","datatables-library","php-library","sqlite","mysql","php","datatables-serverside","laravel","codeigniter","prestashop"],"license":"MIT","category":"databases-storage","readme_excerpt":"Datatables library for PHP Simplify your Datatables server-side processing effortlessly using our lightning-fast PHP library, streamlining your workflow seamlessly. Live Demo Features Easy to use. Generates json using only a few lines of code. Editable columns with a closure function. Supports custom filters. Can handle most complicated queries. Supports mysql and sqlite for native php. Works with : - Laravel - CodeIgniter 3 - CodeIgniter 4 - Phalcon 3 / 4 / 5 - Prestashop - PostgreSql Installation NOTE: version 2.0+ requires php 7.1.3+ (php supported versions) The recommended way to install the library is with Composer If you haven't started using composer, I highly recommend you to use it. Put a file named composer.json at the root of your project, containing this information: { \"require\": { \"ozdemir/datatables\": \"2. \" } } And then run: Or just run : Add the autoloader to your project: You're now ready to begin using the Datatables php library. If you are using a php framework such as codeigniter or laravel, you can use the relevant database adapter. Methods This is the list of available public methods. query($query) required sets the sql query generate() required runs the queries and build outputs returns the output as json same as generate()- toJson() toJson() returns the output as json should be called after generate() toArray() returns the output as array should be called after generate() add($column, function( $row ){}) adds extra columns for custom usage edit($column,","default_branch":null,"files":null,"tree":[],"storefront":"/r/n1crack","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/n1crack/datatables/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}