Preset for Bootstrap 4 scaffolding on new Laravel 5.5.x project.
Current version: Bootstrap 4 beta
- Fresh install Laravel 5.5.x and
cd
to your app. - Install this preset via
composer require laravel-frontend-presets/bootstrap-4
. Laravel 5.5.x will automatically discover this package. No need to register the service provider. - Use
php artisan preset bootstrap4
for basic Bootstrap 4 preset. OR Usephp artisan preset bootstrap4-auth
for basic preset, Auth route entry and Bootstrap 4 Auth views in one go. (NOTE: If you run this command several times, be sure to clean up the duplicate Auth entries inroutes/web.php
) npm install
npm run dev
- Configure your favorite database (mysql, sqlite etc.)
php artisan migrate
to create basic user tables.php artisan serve
(or equivalent) to run server and test preset.