/laravel5-angular-material-starter-voyager

laravel5-angular-material-starter with voyager

Primary LanguagePHPMIT LicenseMIT

laravel5-angular-material-starter-voyager

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:

Step 1, laravel5-starter

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

Step 2, voyager

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

extra steps:

##(ONLY IN STARTER!!)  
php artisan migrate:refresh
php artisan db:seed --class=VoyagerDatabaseSeeder

run server

php artisan serve 

Laravel 5.3 Angular Material Starter

Latest Stable Version Latest Unstable Version Build Status StyleCI Code Climate License Join the chat at https://gitter.im/jadjoubran/laravel5-angular-material-starter

Laravel & Angular

Demo

An online demo is available.

Docs

View Latest Docs for installation steps & tutorials.

Running on 3.2? Here are the 3.2 Docs

Laravel 5 & Angular 2

Join the discussion on

Screencasts

Screencasts on Youtube.

Issues, questions and feature requests

Open a new issue, I'd love to help.

Do It Yourself (Outdated)

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.

Contributing

Thank you for contributing to this repository.

Here are the guidelines:

  1. If you are adding/modifying backend functionality, make sure to include the appropriate test. Let me know if you need help writing the test.