This package starter kit is created to easily get started working with Laravel 5.5 and DataTables.
-
Clone the repo.
git clone https://github.com/yajra/laravel-datatables-starter.git myapp
-
Install packages.
composer install
-
Install assets.
npm install
oryarn
-
Configure your
.env
file and setup your database credentials. -
Generate APP_KEY
php artisan key:generate
-
Migrate database.
php artisan migrate
You can now visit your site via http://myapp.dev
if you are using Laravel Valet.
Assets are managed via npm
or yarn
. Use the following commands to compile your assets:
yarn watch
npm run watch
yarn prod
npm run prod
See Laravel Mix for more details on asset management.