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.
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.
- Static blog homepage (frontend theme is bootstrap blog)
- Sign in page
- Admin area with users management functionality (backend theme is SB Admin)
Please refer to Sentinel 2 The BSD 3-Clause License.