Skip to content

harrywebdev/laravel-5-boilerplate

 
 

Repository files navigation

Laravel 5 Boilerplate

Project Status

Features:

  • Default Laravel 5 Authentication
  • Frontend and Backend Controllers
  • Form/HTML Facades Included
  • Default Forms Converted to Form Helper Methods
  • Default Master Layout
  • Master layout file has useful sections to extend
  • Elixir Compilation and Auto-Prefixation of CSS in header
  • Elixir Compilation and Auto-Prefixation of JS in footer
  • Set up perfectly for use with Laravel 5 Vault Package
  • Helper functions
  • Bootstrap 3 (LESS/SASS)
  • HTML5 Boilerplate v5.0

Installation:

  • composer install
  • npm install
  • Create .env file (example below)
  • php artisan key:generate
  • php artisan migrate
  • Set administrator info in UserTableSeeder.php
  • php artisan db:seed --class="UserTableSeeder"
  • Install gulp (sudo npm install -g gulp)
  • run gulp or gulp watch
  • Configure app.php and mail.php

Example .env file:

APP_ENV=local
APP_DEBUG=true
APP_URL=http://localhost
APP_KEY=WILL BE GENERATED

DB_HOST=localhost
DB_DATABASE=laravel
DB_USERNAME=root
DB_PASSWORD=root

CACHE_DRIVER=file
SESSION_DRIVER=file

Troubleshooting

If for any reason something goes wrong, try each of the following:

Delete the composer.lock file

Run the dumpautoload command

   $ composer dumpautoload -o

If the above fails to fix, and the command line is referencing errors in compiled.php, do the following:

Delete the storage/framework/compiled.php file

If all of the above don't work please report here.

Official Documentation

Documentation for the framework can be found on the Laravel website.

Contributing

Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the Laravel documentation.

License

The Laravel framework is open-sourced software licensed under the MIT license

About

A Laravel 5 Boilerplate Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 85.2%
  • PHP 14.0%
  • JavaScript 0.8%