2017 © Pedro Peláez
 

project laravel-sentinel-bootstrap

Bootstrap a Laravel App with Sentinel Authentication

image

whatthecode/laravel-sentinel-bootstrap

Bootstrap a Laravel App with Sentinel Authentication

  • Sunday, May 22, 2016
  • by whatthecode
  • Repository
  • 0 Watchers
  • 0 Stars
  • 10 Installations
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

laravel-sentinel-bootstrap

Bootstrap a Laravel App with Sentinel Authentication, (*1)

Install via Composer Create-Project

For best results, install this by issuing the Composer create-project command in your terminal:, (*2)

composer create-project whatthecode/laravel-sentinel-bootstrap [APPNAME] dev-master
cd [APPNAME]

Database Migrations and Seeding

Once installed, update your .env file to reference your DB settings and credentials. By default you should see the following:, (*3)

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=secret

Update accordingly. When you've done that, run the migrations and the seeding. Running the migrations will create all the required tables for using Sentinel authentication and the seeding will create an admin user and a regular user:, (*4)

Migration

php artisan migrate

Seeding

Before running this command, make sure you review and/or modify the seeder (found in database/seeds/SentinelDatabaseSeeder.php) to better suit your needs., (*5)

php artisan db:seed --class=SentinelDatabaseSeeder

The Versions

22/05 2016

dev-master

9999999-dev

Bootstrap a Laravel App with Sentinel Authentication

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel framework sentinel