Skip to content

MonkiiBuilt/laravel-user-accounts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

laravel-user-accounts

  1. Install Zizaco/entrust. Follow the instructions but don't create a Role or Permission model. They are provided by this package.

  2. Add this to "require" in composer .json:

"monkiibuilt/laravel-user-accounts": "dev-master",

and add this to the repositories section of composer.json

{
    "type": "package",
    "package": {
        "name": "MonkiiBuilt/laravel-user-accounts",
        "version": "dev-master",
        "source": {
            "url": "https://github.com/MonkiiBuilt/laravel-user-accounts.git",
            "type": "git",
            "reference": "master"
        },
        "autoload": {
            "classmap": [""]
        }
    }
}
  1. Run php artisan db:seed --class="MonkiiBuilt\LaravelUserAccounts\Seeds\DatabaseSeeder"

  2. Run php artisan vendor:publish

  3. If you User model is not at App\Models\User then edit config/laravel-administrator/laravel-administrator-user-accounts.php with the correct namespace.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published