whitecube / white-laravel
There is no license information available for the latest version (dev-master) of this package.
This package's canonical repository appears to be gone and the package has been frozen as a result.
dev-master
2021-02-10 16:28 UTC
Requires
- php: >=7.2.0
- illuminate/support: >=5.8.0
This package is auto-updated.
Last update: 2021-02-10 16:29:00 UTC
README
white-laravel
Boilerplate generator for new Laravel projects @ Whitecube
Installation
This is a package for laravel. Install it with composer.
composer require whitecube/white-laravel
Available commands
php artisan install:white
Note: this global command does not work yet
Installs the base workflow in an interactive way. It lets you pick which workflows to install. See the other commands below to see what everything does.
php artisan install:pluton
Sets up our JavaScript workflow using whitecube-pluton.
This:
- Installs the Pluton library to set up our JS workflow. It does so by installing our Laravel Mix plugin (laravel-mix-pluton).
- Adds a
.babelrc
file that enables class properties compilation in Babel. - Removes all the junk laravel front-end files.
- Adds a boilerplate
app.js
with everything setup properly. - Compiles the assets once to install Laravel Mix's additional dependencies.
php artisan install:sass
Sets up our Sass workflow using white-sass.
This:
- Clones the white-sass repo in the correct location (
resources/sass
). - Removes junk files from the cloned repo.
- Adds the base
app.scss
file. - Adds the
base
directory with a css reset and other useful files. - Compiles the assets once to install Laravel Mix's additional dependencies.
php artisan install:novapage
Installs the nova-page package.
Note: this command does not exist yet