userfrosting/extend-user

An example Sprinkle for extending the User model and table with additional fields or relationships.

Installs: 347

Dependents: 0

Suggesters: 0

Security: 0

Stars: 5

Watchers: 4

Forks: 4

Open Issues: 5

Type:userfrosting-sprinkle

v4.1.1 2017-10-12 17:03 UTC

This package is auto-updated.

Last update: 2024-03-25 06:29:57 UTC


README

Example sprinkle for extending the User class to contain additional fields.

Installation

Edit UserFrosting app/sprinkles.json and add the following to the require list : "userfrosting/extend-user": "~4.1.1". Also add extend-user to the base list. For example:

{
    "require": {
        "userfrosting/extend-user": "~4.1.1"
    },
    "base": [
        "core",
        "account",
        "admin",
        "extend-user"
    ]
}

Update Composer

  • Run composer update from the root project directory.

Run migration

  • Run php bakery bake from the root project directory.