Skip to content

solomon-ochepa/user-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

users-module

Laravel Users module

Installation

composer require solomon-ochepa/user-module

Enable the module

php artisan module:enable

Run the artisan migration command

php artisan migrate

Required

Update composer.json

Add the following property to composer.json

"Modules\\": "Modules/"
"autoload": {
  "psr-4": {
    "App\\": "app/",
    "Database\\Factories\\": "database/factories/",
    "Database\\Seeders\\": "database/seeders/",
    "Modules\\": "Modules/"
  }
}

Update composer autoload

composer dumpautoload

Recommended