magd-kudama/datatables

There is no license information available for the latest version (dev-master) of this package.

Installs: 448

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 2

Open Issues: 0

pkg:composer/magd-kudama/datatables

dev-master 2013-02-05 20:48 UTC

This package is auto-updated.

Last update: 2025-09-29 01:26:14 UTC


README

Plugin to work with Datatables Jquery Plugin (server-side).

It has bees specially developed to work with Laravel 4 (requires an instance of the query builder, and framework/support).

It uses the same public methods of bllim/laravel-datatables-bundle Laravel3 bundle.

####Usage Example

$q = DB::table('user')->join('role', 'user.id', '=', 'role.user_id')
		->select('user.id', 'user.name uname', 'role.name rname');
return Datatables::of($q)->make();

####Other configurations (Laravel 4)

Add the service provider to app/config/app.php

'providers' => array(
	...
	'MagdKudama\Datatables\DatatablesServiceProvider',
	...
),

And add the alias to app/config/app.php

'aliases' => array(
	...
	'Datatables' => 'MagdKudama\Datatables\Facades\Datatables',
	...
),