{"repo":"freshbitsweb/laratables","free":true,"listed":false,"github":"https://github.com/freshbitsweb/laratables","clone":"git clone https://github.com/freshbitsweb/laratables.git","description":"Ajax support of DataTables (Laravel 5.5 to Laravel 11.x)","language":"PHP","stars":485,"topics":["php","php7","laravel","laravel5-package","datatables","datatables-serverside","datatables-ajax","datatables-configuration"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Package Status This package is not under active development. We no longer plan to add new features. The main reason being that our company projects do not use Datatables anymore. If you wish to maintain a fork of this package, I would be more than happy to link. Laratables A Laravel package to handle server side ajax of Datatables. Table of contents Introduction How to use Client side Server side Demo Repositories Installation Customization Controlling the query Controlling the relationship query Joining related tables to the query Custom columns Relationship columns Customizing column values Searching Ordering (Sorting) Selecting additional columns Specifying additional searchable columns Date format for Carbon instances Modify fetched records Extra data- Datatables attributes Introduction This package helps with simple requirements of displaying data from eloquent models into datatables with ajax support. Plus, using simple relationships and customizing column values. Laratables does not work with Datatables Editor yet. How to use The basic approach is that you can specify the Datatable configuration and columns on the client side just like you would without any major change and call a single method on the server side to handle ajax calls. The package will create necessary queries to fetch the data and make the search and ordering functionality work automatically. If needed, You can step-in and customize query/data/logic at various stages by adding methods in your Eloquent ","default_branch":null,"files":null,"tree":[],"storefront":"/r/freshbitsweb","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/freshbitsweb/laratables/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."}