tongdu99/user-module

Basic authentication extracted from laravel 6

Installs: 6

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 22

Language:HTML

Type:laravel-module


README

This is a laravel-module that extracts basic user authentication logic and ui from laravel 6.

A laravel-module is a kind of composer module created for module management Laravel Module

Background

Adding user authentication to laravel is easy and straight forward, just follow the instructions from laravel website. But it still a process developer has to repeat for every website, and it applies to the root code base and not modular.

Laravel-module is a good way to organize the code and make it easy to share and extend the functions. Making the basic user authentication as a laravel-module makes it easier to add user support. It is also easy to switch between different user management module.

Usage

laravel new blog
cd blog
composer require laravel/ui
composer require nwidart/laravel-modules
composer dump-autoload
artisan ui bootstrap
composer require tongdu99/user-module
npm install && npm run dev
artisan migrate

Now when you visit blog.test, you will see the Login and Register menu item on the top right corner.