jeanquark / sentinel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sentinel for Laravel 5.2

A basic implementation of the Sentinel 2 authorization and authentication package for laravel 5.2 framework. Visitors can sign in as user, moderator or administrator and make use of their privileges. Only admin are allowed to manage users. Frontend theme is bootstrap blog.

Installation

Make sure you have a running web server on your computer (for example xampp). Open your favorite CLI and move to the folder that will hold the project (typically C:\xampp\htdocs for xampp users). Then type the following commands:

First clone the repo

git clone https://github.com/jeanquark/sentinel.git

Install all dependencies

composer install

Create a database that will hold sentinel tables. You can do so with phpmyadmin. Open the .env.example file, edit it to match your database name, username and password and save it as .env file. Then build tables with command

php artisan migrate

Now fill the tables

php artisan db:seed

Generate application key

php artisan key:generate

Nice. You should be good to go. Open your web browser and go to the login page of the application project (if you followed above-mentioned directives with xampp, path is: http://localhost/sentinel/public/login). Enter provided admin credentials and start managing users from the admin area.

Features

  1. Static blog homepage (frontend theme is bootstrap blog)
  2. Sign in page
  3. Admin area with users management functionality (backend theme is SB Admin)

Screenshots

Homepage: homepage

Sign in page: login

Admin area: alt text

License

Please refer to Sentinel 2 The BSD 3-Clause License.

About


Languages

Language:PHP 69.3%Language:CSS 30.2%Language:ApacheConf 0.3%Language:JavaScript 0.3%