Zurb Foundation frontend preset for Laravel Framework 7.0
Current version: Zurb Foundation for sites 6.6.3
- Install fresh Laravel project and
cd
to your app - Install Laravel UI
composer require laravel/ui
- Install this preset via
composer require dijitaq/foundation-for-laravel
(package will be discovered automatically, no need to register the service provider) - Apply one of the following preset configurations:
- Use
php artisan foundation-ui
for basic ui without Authentication including core functions and only welcome page view - Use
php artisan foundation-ui --auth
for full ui with Authentication including basic preset, authentication controllers, views and route entries, all in one go
- Use
- Run
npm install && npm run dev
to compile your fresh scaffolding - If you decided to use full ui with Authentication, you also need to:
- Configure your favorite database (mysql, sqlite, etc.),
- Run
php artisan migrate
to create basic user tables in the database
- Run
php artisan serve
(or equivalent) to run server and test preset