Laravel and AngularJS Starter Application Boilerplate featuring Laravel 5 and AngularJS 1.3.13
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.vagrant/machines/default/virtualbox
app
bootstrap
bower_components
config
database
public
resources
storage
tests
.env.example
.gitattributes
.gitignore
LICENSE
README.md
Vagrantfile
artisan
composer.json
gulpfile.js
package.json
phpspec.yml
phpunit.xml
server.php

README.md

💁 Zemke/starter-laravel-angular has been upgraded to Laravel 5.1.0. You can pull the changes and run rm composer.lock && composer install --prefer-dist --no-scripts to merge the upgrade.

Laravel and AngularJS Starter Application

This is a repo for a starter application for a Single Page Application featuring the modern Laravel PHP framework and Google’s acclaimed front-end framework AngularJS. Just download and install and you have a good foundation for building any application.

Features!

  • Single Page Application
    • HTML5 mode URLs
    • Optimized Laravel and AngularJS routes
      • You kind of don’t need to care about routes, they work automatically as you add new views. Still allows for flexibility if you plan any special routes.
  • Authentication!
  • Larevel Elixir readily configured
    • Versioning of CSS and JS files (cache busting)
    • CSS and JS files will be included automatically
  • A whole ready CRUD architecture
  • Comes with Bootstrap and AngularJS configured to work together at their best
  • And more... have a try!

Installation

git clone https://github.com/Zemke/starter-laravel-angular.git
composer install --prefer-dist
npm install

Database Setup

Edit .env.example according to your environment and save as .env. An application key can be generates with the command php artisan key:generate.

Run these commands to create the tables within the database you have already created.

php artisan migrate:install
php artisan migrate:refresh

Run

To provide the JS and CSS files and to keep track of changes to these files:

gulp && gulp watch

To start the PHP built-in server:

php -S localhost:8080 -t public/

Now you can browse the site http://localhost:8080. 🙌

Requirements

  • PHP >= 5.4
  • Composer
  • Gulp
  • NPM
  • MySQL

Have fun! Any feedback is welcome. Use Issues or Twitter. My Twitter handle is @FlorianZemke. I’m looking forward to talk to you.

Laravel AngularJS