2017 © Pedro Peláez
 

library datatables

image

magd-kudama/datatables

  • Tuesday, February 5, 2013
  • by magdkudama
  • Repository
  • 1 Watchers
  • 1 Stars
  • 442 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Jquery Datatables Package

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

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

It uses the same public methods of bllim/laravel-datatables-bundle Laravel3 bundle., (*3)

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, (*4)

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

And add the alias to app/config/app.php, (*5)

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

The Versions

05/02 2013

dev-master

9999999-dev

  Sources   Download

The Requires