you can use this https://github.com/followtheart/laravel5-angular-material-starter-voyager.git directly, Or you can do it yourself, just follow steps below:
Also see here :https://laravel-angular.readme.io/docs
git clone https://github.com/jadjoubran/laravel5-angular-material-starter.git
cd laravel5-angular-material-starter
npm install -g gulp bower
npm install
bower install
#fix database credentials in .env
php artisan migrate
gulp
Also see here: https://github.com/the-control-group/voyager
composer require tcg/voyager
Next make sure to create a new database and add your database credentials to your .env file:
DB_HOST=localhost
DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=secret
Add the Voyager service provider to the config/app.php
file in the providers
array:
'providers' => [
// Laravel Framework Service Providers...
//...
// Package Service Providers
TCG\Voyager\VoyagerServiceProvider::class,
// ...
// Application Service Providers
// ...
],
Lastly, we can install voyager by running
php artisan voyager:install
##(ONLY IN STARTER!!)
php artisan migrate:refresh
php artisan db:seed --class=VoyagerDatabaseSeeder
php artisan serve
An online demo is available.
View Latest Docs for installation steps & tutorials.
Running on 3.2? Here are the 3.2 Docs
Join the discussion on
Screencasts on Youtube.
Open a new issue, I'd love to help.
A nice article on sitepoint that explains the first few versions of this repository. Recommended read if you're not familiar with the underlying technologies.
Thank you for contributing to this repository.
Here are the guidelines:
- If you are adding/modifying backend functionality, make sure to include the appropriate
test
. Let me know if you need help writing the test.