Skip to content

yajra/laravel-datatables-demo

Repository files navigation

#Laravel Datatables Demo App

Datatables Package for Laravel 4|5

Latest Stable Version Total Downloads Build Status Latest Unstable Version License

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

Note This demo app aims to guide artisan developers on how to use the package by examples.

Installation

Step 1: Get the code

  • Option 1: Git Clone
git clone https://github.com/yajra/laravel-datatables-demo.git laravel

Step 2: Use Composer to install dependencies

  • cd /path/to/laravel
  • composer install

Step 3: Perform default commands for new projects

  • php -r "copy('.env.example', '.env');"
  • php artisan key:generate

Step 4: Configure your database

  • Check Laravel's Documentation for setting up the database configuration

Step 5: Run migrations and seeders

  • cd /path/to/laravel
  • php artisan migrate --seed

Step 6: Start Accessing the Demo Site