Giter Club home page Giter Club logo

basic-laravel-project-scaffolding's Introduction

Basic Laravel Project Scaffolding

Basic Laravel 5.1 project scaffolding with Gulp, Bower, LESS, & Bootstrap.

Overview

This project helps speed up the process of setting up a simple Laravel 5.1 project. It configures Bower, Gulp, and Bootstrap automatically in a maintainable way. It strives to keep vendor files seperate from project files and uses programming best practices where possible.

Project Tree

There are a few minor alterations from a standard Laravel installation. Most importantly, we keep our Bower components outside of our project and in /vendor/bower_components. They will be imported and overriden with the help of LESS and Gulp, ensuring that we won't have to make any drastic code changes if we want to update a component.

.
├── resources
|   └── assets
|   	├── js
|   	|   └── application.js
|   	└── less
|       	├── application.less
|			├── bootstrap.less
|       	└── variables.less
|
├── public
|   └── assets
|       ├── css
|		├── fonts
|		├── images
|       └── js
|
└── vendor
    └── bower_components

Getting Started

Prerequirements: You must have Composer and Node.js installed on your system. You should also install Bower and Gulp globally (npm install -g bower gulp).

  1. Run composer update to download and install composer packages
  2. Rename .env.example to .env (mv .env.example .env) and then run php artisan key:generate
  3. Install node packages with npm install. This will automatically run bower install and gulp once it has finished.
  4. Run gulp watch and start developing

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.