Git Product home page Git Product logo

laravel-datatables's Introduction

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 column filtering via filterColumn API.
  • Extended column ordering via orderColumn API.
  • Extended Query Builder functionality allowing you to filter using Datatables class directly.
  • Decorate your data output using league\fractal Transformer with Serializer support.
  • Works with Laravel Dependency Injection and IoC Container.
  • Provides a DataTable Html Builder to help you use the package with less code.
  • Provides XSS filtering function to optionally escape all or specified column values using escapeColumns('*'\['column']) method.
  • Provides Query Logging when application is in debug state. Important: Make sure that debug is set to false when your code is in production

Laravel 4.2 & DataTables v1.9.x Users

Most of the latest updates/features are not available on these versions. Please check L4 Branch and L5 DT1.9 for old documentations of its features.

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\Facades\Datatables',

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

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

Configuration

Laravel 5: $ php artisan vendor:publish --provider="yajra\Datatables\DatatablesServiceProvider"

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.

Credits

laravel-datatables's People

Contributors

chrisreid avatar darkaonline avatar donnykurnia avatar ethaizone avatar fl0ux avatar florin-hallnet avatar hiendv avatar ionutlepi avatar linaspasv avatar markvaughn avatar mclassic avatar nightowl77 avatar openvast avatar sangar82 avatar sleeping-owl avatar smb avatar tortuetorche avatar umefarooq avatar xujif avatar yajra avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.