Skip to content

wordpress-lab/laravel-datatables

 
 

Repository files navigation

Datatables Package for Laravel 4|5

Laravel 4.2|5.0|5.1 Latest Stable Version Build Status Scrutinizer Code Quality Total Downloads License

This package is created to handle server-side works of DataTables jQuery Plugin via AJAX option by using Eloquent ORM, Fluent Query Builder or Collection.

Feature Overview

  • Supports the following data source
    • Eloquent ORM
    • Fluent Query Builder
    • Collection [available on v5.x and later]
  • Adding or editing content of columns and removing columns
  • Templating new or current columns via Blade Template Engine or by using Closure
  • Works with ALL the DATABASE supported by Laravel
  • Works with Oracle Database using Laravel-OCI8 package
  • Works with DataTables v1.10++.
    • Note: DT Legacy code is not supported on v5.x
  • Works with DataTables v1.9 and v1.10 legacy code.
    • Note: Use v4.x for Laravel 5 and v3.x for Laravel 4
  • Extended Query Builder functionality allowing you to filter using Datatables class directly.
  • Decorate your data output using league\fractal Transformer.
  • Works with Laravel Dependency Injection and IoC Container.
  • Provides a DataTable Html Builder to help you use the package with less code.

Buy me a beer

Click here to lend your support to: Laravel Datatables and make a donation at pledgie.com !

Documentations

Quick Installation

Laravel 5: composer require yajra/laravel-datatables-oracle:~5.0

Laravel 4: composer require yajra/laravel-datatables-oracle:~3.0

Service Provider

yajra\Datatables\DatatablesServiceProvider

Facade

Laravel 4 'Datatables' => 'yajra\Datatables\Datatables',

Laravel 5 'Datatables' => 'yajra\Datatables\Datatables',

Laravel 5.1 'Datatables' => yajra\Datatables\Datatables::class,

Configuration

Laravel 5: $ php artisan vendor:publish

Laravel 4: $ php artisan config:publish yajra/laravel-datatables-oracle

And that's it! Start building out some awesome DataTables!

License

Licensed under the MIT License.

About

jQuery DataTables API for Laravel 4|5

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%