userfrosting / extend-user
An example Sprinkle for extending the User model and table with additional fields or relationships.
Installs: 341
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 3
Forks: 4
Open Issues: 5
Type:userfrosting-sprinkle
This package is auto-updated.
Last update: 2023-05-25 04:35:07 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.