Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 458 Bytes

README.md

File metadata and controls

34 lines (28 loc) · 458 Bytes

Laravel-Datatable

A simple example of using Datatable.js with Laravel 5.6

Usage

Change these fields to your database config in the .env file

DB_DATABASE=db_name
DB_USERNAME=db_username
DB_PASSWORD=db_password

Migrate Users' Table

php artisan migrate

Seed Users' Table

php artisan tinker
factory(App\User::class, 100)->create();
exit

Run

php artisan serve

Enjoy!