2017 © Pedro Peláez
 

library laravel-datatables-scout

Laravel DataTables Scout Plugin.

image

yajra/laravel-datatables-scout

Laravel DataTables Scout Plugin.

  • Thursday, July 20, 2017
  • by yajra
  • Repository
  • 3 Watchers
  • 10 Stars
  • 50 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 1 Versions
  • 9 % Grown

The README.md

Laravel DataTables Scout Plugin

Laravel 5.4|5.5 Latest Stable Version Build Status Scrutinizer Code Quality Total Downloads License, (*1)

This package is a plugin of Laravel DataTables to support searching using Laravel Scout., (*2)

Requirements

Documentations

Installation

composer require yajra/laravel-datatables-scout:^1.0, (*3)

Usage

Use the dataTable class directly.

use Yajra\DataTables\ScoutDataTable;

$model = new App\User;

return (new ScoutDataTable($model))->toJson()

Use via trait.

  1. You need to use ScoutDataTable trait on your model.
use Yajra\DataTables\Traits\ScoutDataTable;

class User extends Model
{
    use ScoutDataTable;
}
  1. Process dataTable directly from your model.
Route::get('users/data', function() {
    return User::dataTable()->toJson();
});

Contributing

Please see CONTRIBUTING for details., (*4)

Security

If you discover any security related issues, please email aqangeles@gmail.com instead of using the issue tracker., (*5)

Credits

License

The MIT License (MIT). Please see License File for more information., (*6)

Buy me a beer

Click here to lend your support to: Laravel DataTables and make a donation at pledgie.com !, (*7)

The Versions

20/07 2017

dev-master

9999999-dev

Laravel DataTables Scout Plugin.

  Sources   Download

MIT

The Requires

 

The Development Requires

plugin laravel datatables scout