Skip to content

Example Laravel 5.6 application with multi table authentication.

License

Notifications You must be signed in to change notification settings

nafiesl/laravel-multi-table-auth

Repository files navigation

Laravel multi-table Auth

Laravel 5.6 example with multi-table Authentication. Built with Test-driven Development.


Getting Started

This application can be installed on local server and online server with these specifications :

Server Requirements

  1. PHP >= 7.1.3 (and meet Laravel 5.6 server requirements),
  2. MySQL or MariaDB database,
  3. SQlite (for automated testing).

Installation Guide

# Clone the repo
$ git clone https://github.com/nafiesl/laravel-multi-table-auth.git

# cd into project directory
$ cd laravel-multi-table-auth

# Install dependecies
$ composer install # or composer update

# Set create env file
$ cp .env.example .env
$ php artisan key:generate
  • Create new MySQL database for this application
  • Set database credentials on .env file
# Migrate the database structire
$ php artisan migrate

# Start web server
$ php artisan serve
  • Register as new User and new Customer, then login as separated authentication guard.

Screenshots

User Login Page

User Login Page

User Dashboard Page

User Dashboard Page

Customer Register Page

Customer Register Page

Customer Login Page

Customer Login Page

Customer Dashboard Page

Customer Dashboard Page

License

This project is free and open-source under MIT License.

About

Example Laravel 5.6 application with multi table authentication.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published