Basic Authentication with Sentinel
Based on my other repo that used Sentry. My personal starting point for any Laravel app that requires standard users and admin users. Also has editable profiles (standard users can edit their own profile, admin users can edit all profiles).
See demo here (demo is Laravel 4 version of Sentry package. However, it works exactly the same) or install locally with instructions below.
Installation
This is just local installation using something like MAMP/WAMP or xampp. Of course you are free to use homestead if you like.
- clone the repo and cd into it
composer install
- make sure db is running and credentials are setup in
config\database.php
(or in your.env
file). - If you have no
.env
file you can use the example one. Just rename.env.example
to.env
. Enter your db credentials here. php artisan key:generate
php artisan migrate
php artisan db:seed
- (Optional) Run
vendor/bin/phpunit
to run some functional tests I have written. Have a look at them in thetests/functional
folder. php artisan serve
- Visit localhost:8000 in your browser