Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/laravel-frontend-presets/zurb-foundation

Zurb Foundation Frontend Preset For Laravel Framework 5.5 and Up
https://github.com/laravel-frontend-presets/zurb-foundation

laravel preset zurb zurb-foundation

Last synced: 28 days ago
JSON representation

Zurb Foundation Frontend Preset For Laravel Framework 5.5 and Up

Awesome Lists containing this project

README

        

# Laravel 6.0+ front-end preset for Zurb Foundation

A Laravel front-end scaffolding preset for [Zurb Foundation](https://get.foundation/) - The most advanced responsive front-end framework in the world.

## Installation

1. Install fresh Laravel `>=5.5 <7.0` project and `cd` to your app,
2. Install this preset via `composer require laravel-frontend-presets/zurb-foundation --dev` (package will be discovered automatically, no need to register the service provider),
3. Apply one of the following preset configurations:
1. Use `php artisan preset foundation` for **basic preset without Authentication** including core functions and only welcome page view,
2. Use `php artisan preset foundation-auth` for **full preset with Authentication** including basic preset, authentication controllers, views and route entries, all in one go (**NOTE:** If you run this command several times, be sure to clean up the duplicated entries from `routes/web.php` file),
4. Run `npm install && npm run dev` to compile your fresh scaffolding,
5. If you decided to use **full preset with Authentication**, you also need to:
1. Configure your favorite database (mysql, sqlite, etc.),
2. Run `php artisan migrate` to create basic user tables in the database,
7. Run `php artisan serve` (or equivalent) to run server and test preset.

## Dependencies

Those front-end dependencies will be added to the NPM project during preset installation:

* [foundation-sites](https://www.npmjs.com/package/foundation-sites) **^6.5**,
* [jquery](https://www.npmjs.com/package/jquery) **^3.2**.

## Screenshots

![Foundation login screen](/screenshots/foundation_login_screen.png)