LUYA boilerplate to kickstart projects with Bootstrap 4.
PHP CSS ApacheConf JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assets
configs
migrations Initial commit Jan 29, 2016
public_html
resources Updated zephir-gulp-workflow Sep 21, 2016
runtime
views Update main.php Sep 10, 2016
.gitignore
README.md
composer.json
deploy.php

README.md

LUYA BOOTSTRAP4 BOILERPLATE

Installation

composer create-project luyadev/luya-boilerplate-bootstrap4:^1.0@dev

This will install the current dev-master of LUYA and its modules.

Front-End

Libraries

These libraries are included and avaible.

» jQuery (yii\web\JqueryAsset)
» Bootstrap v4-alpha2 (CSS & JS)

Compiling

We have created our own NPM Package that includes our gulp workflow.
Inside the resources/ folder, everything is prepared.

See zephir/zephir-gulp-workflow for a full documentation of the workflow.

Backend

Assets

To speed up your local development you can uncomment the following lines in configs/local.php in order to use symlinking your assets instead of copy them every run.

'assetManager' => [
    'class' => 'luya\web\AssetManager',
    'linkAssets' => true,
],

Now all assets will be symlinked and not copied.

This will also enable CSS instant reload provided by browserSync (gulp).