2017 © Pedro Peláez
 

library laravel-kit

MWI Starter Kit for Laravel Projects

image

mwi/laravel-kit

MWI Starter Kit for Laravel Projects

  • Thursday, April 5, 2018
  • by midwesternInteractive
  • Repository
  • 3 Watchers
  • 1 Stars
  • 330 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 22 Versions
  • 9 % Grown

The README.md

Local Environment

If you haven't already, make sure you have your local environment setup., (*1)


Local Environment Setup, (*2)

Set Up

We have an NPM package that handles the entire setup process, (*3)

MWI Laravel Setup

cd ~/projects/
mkdir project-name && cd project-name
npm i mwi-laravel-setup

Run the Script

For instructions on the setup script visit MWI Laravel Setup, (*4)

python setup.py -n -p

Aliases

For ease of use we'll add some composer scripts to our composer.json file., (*5)

"sniff": "phpcs -p ./app",
"sniff:fix": "phpcbf -p ./app",
"test": "phpunit",
"sniff:test": "composer sniff && phpunit"

The first just sniffs, second fixes the sniff errors it can, third runs phpunit tests and four sniffs and tests together., (*6)


Package Specific Setup

These are additional packages that will help in the development of the project., (*7)

MWI Laravel CRUD

This package is setup by default, (*8)

MWI Laravel CRUD Documentation, (*9)

MWI Laravel Forms

Super handy components for form creation, (*10)

composer require mwi/laravel-forms

MWI Laravel Forms Documentation, (*11)

Spatie Laravel Permission

This package is set up by default, (*12)

Spatie Permissions Documentation, (*13)


JavaScript/CSS Assets

Always be sure to run the following command during a projects set up, (*14)

npm install

We utilize laravel mix to handle the building of assets. Visit the MIX Documentation for more information., (*15)

Structure your assets by core, theme and application as necessary in the webpack.mix.js file., (*16)

// Theme Styles
mix.styles('resources/assets/css/theme.css', 'public/css/theme.css')

// Application Styles
.sass('resources/assets/sass/app.scss', 'public/css');

// Core Scripts for Every Page
.scripts([
  // -- Your Core Scripts/Dependencies
  "resources/assets/lib/jquery/jquery.min.js",
  "resources/assets/js/main.js"
], 'public/js/core.js')

// Scripts for the Theme
.scripts([
  // -- Your Theme Scripts/Dependencies
  "node_modules/select2/dist/select2.js"
  "resources/assets/js/theme.js",
], 'public/js/theme.js')

// Application JavaScript
.js('resources/assets/js/app.js', 'public/js/app.js')

.sourceMaps();

Standard Packages

These packages are on an as need basis. If a theme was incorporated they may not be necessary., (*17)

For masking inputs, (*18)

npm install inputmask

For form validation, (*19)

npm install parsleyjs

For select dropdowns/multiselects, (*20)

npm install select2

For card based layouts, (*21)

npm install masonry-layout

Additional References and Guides

Note Some of these guides are still a work in progress., (*22)

For more information on how to utilize various features of this kit visit the following:, (*23)

The Versions

05/04 2018

dev-master

9999999-dev

MWI Starter Kit for Laravel Projects

  Sources   Download

MIT

The Requires

 

by Matt Johnson
by Michael Spangler

laravel starter

05/04 2018

v1.7.1

1.7.1.0

MWI Starter Kit for Laravel Projects

  Sources   Download

MIT

The Requires

 

laravel starter

05/04 2018

v1.6.5

1.6.5.0

MWI Starter Kit for Laravel Projects

  Sources   Download

MIT

The Requires

 

by Matt Johnson
by Michael Spangler

laravel starter

05/04 2018

v1.7.0

1.7.0.0

MWI Starter Kit for Laravel Projects

  Sources   Download

MIT

The Requires

 

by Matt Johnson
by Michael Spangler

laravel starter

01/03 2018

1.6.4

1.6.4.0

MWI Starter Kit for Laravel Projects

  Sources   Download

MIT

The Requires

 

by Matt Johnson
by Michael Spangler

laravel starter

01/03 2018

1.6.3

1.6.3.0

MWI Starter Kit for Laravel Projects

  Sources   Download

MIT

The Requires

 

by Matt Johnson
by Michael Spangler

laravel starter

01/03 2018

v1.6.1

1.6.1.0

MWI Starter Kit for Laravel Projects

  Sources   Download

MIT

The Requires

 

by Matt Johnson
by Michael Spangler

laravel starter

24/01 2018

v1.6.0

1.6.0.0

MWI Starter Kit for Laravel Projects

  Sources   Download

MIT

The Requires

 

by Matt Johnson
by Michael Spangler

laravel starter

15/12 2017

v1.5.1

1.5.1.0

MWI Starter Kit for Laravel Projects

  Sources   Download

MIT

The Requires

 

laravel starter

15/12 2017

v1.5

1.5.0.0

MWI Starter Kit for Laravel Projects

  Sources   Download

MIT

The Requires

 

laravel starter

08/12 2017

v1.4.6

1.4.6.0

MWI Starter Kit for Laravel Projects

  Sources   Download

MIT

The Requires

 

laravel starter

06/12 2017

v1.4.5

1.4.5.0

MWI Starter Kit for Laravel Projects

  Sources   Download

MIT

The Requires

 

laravel starter

30/11 2017

v1.4.4

1.4.4.0

MWI Starter Kit for Laravel Projects

  Sources   Download

MIT

The Requires

 

laravel starter

22/11 2017

v1.4.3

1.4.3.0

MWI Starter Kit for Laravel Projects

  Sources   Download

MIT

The Requires

 

laravel starter

16/11 2017

v1.4.2

1.4.2.0

MWI Starter Kit for Laravel Projects

  Sources   Download

MIT

The Requires

 

laravel starter

16/11 2017

v1.4.1

1.4.1.0

MWI Starter Kit for Laravel Projects

  Sources   Download

MIT

The Requires

 

laravel starter

16/11 2017

v1.4

1.4.0.0

MWI Starter Kit for Laravel Projects

  Sources   Download

MIT

The Requires

 

laravel starter

07/11 2017
07/11 2017
07/11 2017
07/11 2017
06/11 2017

v1.0

1.0.0.0

MWI Starter Kit for Laravel Projects

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel starter