/Laravel-Datatables-Advanced

A few advanced examples of Laravel + Datatables.net

Primary LanguagePHP

Datatables.net + Laravel 5.5 Advanced Demo

Simple mini-project with Laravel 5.5, showing some advanced capabilities of Datatables.net library - with Server-Side rendering.

Used package: yajra/laravel-datatables

Based on the tutorials and examples from their official documentation.

Five examples include:

Example 1. Row details

Laravel Datatables Demo


Example 2. Master details

Laravel Datatables Demo


Example 3. Search for each individual columns (see on the bottom)

Laravel Datatables Demo


Example 4. Row attributes

Laravel Datatables Demo


Example 5. Carbon formatting (See updated_at column)

Laravel Datatables Demo


How to use

  • Clone the repository with git clone
  • Copy .env.example file to .env and edit database credentials there
  • Run composer install
  • Run php artisan key:generate
  • Run php artisan migrate --seed (it has some seeded data for your testing)
  • That's it - load the homepage

License

Please use and re-use however you want.


More from our LaravelDaily Team