Introduction

OpenSkill/Datatable is a package for Laravel 5 as well as all other composer based projects that provides a server side handler for a number of javascript table plugins.

Currently it supports the following frontend tables:

Currently, it supports the following backend providers:

Features

Datatable has a number of features:

  • Easy to use interface with fully configurable behaviour
  • Automatically generates html tables and the appropriate javascript on the client side
  • Fully tested
  • Fully configurable
  • Extensible

Quickstart

Composer

This package is available on http://packagist.org, just add it to your composer.json

"openSkill/datatable": "^0.2"

Alternatively, you can install it using the composer command:

composer require openskill/datatable

Laravel

The package is built with Laravel in mind, so just add the following lines to app.php

Laravel 5

    'providers' => [

        ...
        OpenSkill\Datatable\DatatableServiceProvider::class,
        ...
    ],
    'aliases' => [

        ...
        'Datatable'=> OpenSkill\Datatable\Facades\DatatableFacade::class,
        ...
    ],

To override the default configuration options you can publish the config file.

php artisan vendor:publish

Cogratulations, you are now able to use Datatable in your project.

Head on to the next section