#Laravel(5.1) Base App + Angular
Please fork and contribute to enhance the structure.
You can also suggest packages so that we can directly dive into code with this code base.
- Laracast Flash
- HTML by Illuminate - for managing forms
- Repositories - yes, you don't need to write these.
- Api Guard - need an API on the fly? Cheers to these.
- Javascript to Php - by Laracasts
- Guzzle - we can't sent emails without this package.
- jQuery
- Bootstrap 3.*
- Font Awesome
- Angular
- Angular Bootstrap
- Angular Resource
- Angular Filter
- Moment
-
Run
composer update
to pull package dependencies. -
Add these to
config\app.php
Providers
'Zizaco\Entrust\EntrustServiceProvider', 'Laracasts\Flash\FlashServiceProvider', 'Laracasts\Utilities\JavaScript\JavascriptServiceProvider', 'Chrisbjr\ApiGuard\Providers\ApiGuardServiceProvider'
Aliases
'Entrust' => 'Zizaco\Entrust\EntrustFacade', 'Flash' => 'Laracasts\Flash\Flash', 'JavaScript'=> 'Laracasts\Utilities\JavaScript\JavaScriptFacade'
-
Run
php artisan vendor:publish && php artisan entrust:migration
to pull package migrations. -
Run
php artisan migrate:install && php artisan migrate
-
Run
bower install
to pull javascript libraries. -
Use Laravel Elixir by running
npm install
. Usesudo
for super user. -
Run
gulp
orgulp watch
. -
Include
public/css/all.css
,public/js/general.js
andpublic/js/scripts.js
on the templates you want to include the files. -
Finally run
composer dump-autoload -o
, just to have a clean build.