8000 GitHub - jqguess/laravel_boilerplate: A quick Laravel 5 boilerplate
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

jqguess/laravel_boilerplate

Repository files navigation

laravel_boilerplate

A quick Laravel 5 boilerplate. Easily use Gulp/Elixir and PHPUnit to make unit testing and combining CSS, LESS, SASS files a breeze.

Start by cloning or dowloading the repo and decide on your local environment

Homestead is Laravels Vagrant Box solution if you do not want to install PHP and have a disposable environment. Xampp or Wampp are quick options as well. More installation instructions can be found here.

Fastest option if your not familiar with Homestead, Vagrant

  • Download and install Xampp with PHP, configure what you want, although it should not be necessary. You will need Composer, Bower, and Nodejs for NPM.

* Add the file that contains php.exe to your Path C:\xampp\php on normal installation.
* Once these are all installed, cd to the file and run $ php composer install $ npm install $ bower install --save
* To add a database, Start MySQL from the Xampp control panel. Edit the .env.example or .env file with your database settings. Basic settings would be DB_HOST=127.0.0.1 DB_DATABASE=Homestead DB_USERNAME=User DB_PASSWORD="" * Apply these same settings to the database.php file found in the config folder for your DB type.
* From the CLI, cd to the app folder, then run $ php artisan migrate This structures your DB.
* From the CLI run $ php artisan serve which should output server running on http://localhost:8000
* Point your browser and you should see the app's output. If no dice, try Laravels installation guide.

Gulp, Elixer, PHPUnit

  • Out of the box, boilerplate is setup to mix all CSS/LESS/SASS files with the commands
    $ gulp copyfiles and then $ gulp
  • Easily run all unit tests with Gulp-Elixir from your cli with $ gulp phpunit
  • Profit!

About

A quick Laravel 5 boilerplate

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0