Boilerplate for Laravel with common tools/plugins for ease of development.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app Resolve merge conflicts (2) Nov 6, 2018
bootstrap ESLint, React, SCSS, Ziggy, JWTAuth, LogViewe Jul 22, 2018
config Shift configuration Sep 13, 2018
database Fix UserFactory model class Jan 22, 2019
public Protect logs route Sep 12, 2018
resources Move assets Sep 13, 2018
routes Protect logs route Sep 12, 2018
storage Protect logs route Sep 12, 2018
tests Adopt PSR-2 coding style Sep 13, 2018
.babelrc Add Jest for js testing Jul 22, 2018
.editorconfig ESLint, React, SCSS, Ziggy, JWTAuth, LogViewe Jul 22, 2018
.env.example Protect logs route Sep 12, 2018
.eslintrc.json ESLint, React, SCSS, Ziggy, JWTAuth, LogViewe Jul 22, 2018
.gitattributes ESLint, React, SCSS, Ziggy, JWTAuth, LogViewe Jul 22, 2018
.gitignore ESLint, React, SCSS, Ziggy, JWTAuth, LogViewe Jul 22, 2018
.phpstorm.meta.php Resolve merge conflicts (2) Nov 6, 2018
.travis.yml Force chrome version to be latest stable Jan 8, 2019
LICENSE.md Initial commit Jul 22, 2018
README.md
_ide_helper.php Resolve merge conflicts (2) Nov 6, 2018
artisan
composer.json
composer.lock Resolve merge conflicts (2) Nov 6, 2018
package-lock.json Add Jest for js testing Jul 22, 2018
package.json Add the required changes for 5.7 Sep 19, 2018
phpunit.xml ESLint, React, SCSS, Ziggy, JWTAuth, LogViewe Jul 22, 2018
server.php
webpack.mix.js Add the required changes for 5.7 Sep 19, 2018

README.md

Laravel Boilerplate

This is our internal boilerplate for Laravel projects, it should hopefully reduce the time it takes for you to setup a project & also improve code standards across the board.

Installation

The Langley Foxall Laravel Boilerplate can be easily installed using Composer. Just run the following command from within your new project directory.

composer create-project langleyfoxall/laravel-boilerplate

The boilerplate and all its dependencies will be automatically downloaded.

Features

The table below illustrates the planned features and the currently implemented features.

Feature Implemented Desc
Log Viewer Easily viewing logs
React Frontend framework
ESLint Coding standards
Ziggy Use named routes in your js
JWT Auth JWT API authorization
Jest JS testing framework
Enzyme Utilities for testing React
Travis Continuous integration
Dusk Browser testing for Laravel (blade)
Laravel Debug Bar Help debugger

Notes

  • Be careful when using Jest & Dusk, they should not be used in tandem, use Jest & Enzyme for React rendered apps & Dusk for Blade rendered apps.
  • When using Ziggy, ensure you add @routes before you include your application's bundle.
  • JWTAuth is using the latest release candidate & not 0.5.*. Therefore make sure you use this link when referring to the docs. http://jwt-auth.readthedocs.io/en/develop/
  • Travis (.travis.yml) may need some modifications based on your setup.