Download the PHP package iyogesharma/datatable-laravel without Composer
On this page you can find all versions of the php package iyogesharma/datatable-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download iyogesharma/datatable-laravel
More information about iyogesharma/datatable-laravel
Files in iyogesharma/datatable-laravel
Package datatable-laravel
Short Description package to help in handling both server and client side datatable.js operations
License MIT
Rated 5.00 based on 2 reviews
Informations about the package datatable-laravel
jQuery Datatables For Laravel
A simple package to ease datatable.js server side operations
This package is created to handle server-side and client-side works of DataTables jQuery Plugin via AJAX option by using Eloquent ORM, Query Builder or Collection.
datatable-laravel 4.x
Version 4.x continues the improvements in version 3.x by introducing some new features
New
-
Added support for select raw queries
-
Auto guess column names if no columns are provided in request
-
Auto guess column names if * is provided in column names
-
Added support for group by and havig clause
-
Example
- Added Support For Data Filtering From Client Side
- Added Column Wise Search Query Support Using Below Api
- Example
Modified
Modified datatable function to support server side export to xls,csv and json
You just need to pass 2 new arguments in query-string/body export
and ext
if export = true
it will return download file response
for ext
default value is xlsx
Using Helper Function
Using Facade
Add/Edit Column
Using Helper Function
Add/Edit Multiple Columns
Remove Column
Remove Multiple Columns
Requirements
- PHP >= 7.0
- Laravel 7.x
- jQuery DataTables v1.10.x
- You can check previous release for different version of laravel
Quick Installation
Service Provider & Facade (Optional on Laravel 5.5)
Register provider and facade on your config/app.php
file.
load css files
before tag add
load script files
before tag add
load Dependencies (css/js)
before tag add
Initialize Basic DataTable
In HTMl file inside document .ready function write
Initialize Ajax DataTable
In HTMl file inside document .ready function write
Example
License
The MIT License (MIT). Please see License File for more information.
All versions of datatable-laravel with dependencies
laravel/framework Version >=5.0
iyogesharma/export Version ^1.0
ext-json Version *