https://github.com/userfrosting/extend-user
Example sprinkle for extending the User class to contain additional fields
https://github.com/userfrosting/extend-user
userfrosting userfrosting-sprinkle
Last synced: about 1 month ago
JSON representation
Example sprinkle for extending the User class to contain additional fields
- Host: GitHub
- URL: https://github.com/userfrosting/extend-user
- Owner: userfrosting
- License: other
- Created: 2017-02-11T08:19:35.000Z (over 8 years ago)
- Default Branch: 5.0
- Last Pushed: 2024-04-28T23:02:48.000Z (about 1 year ago)
- Last Synced: 2025-04-02T01:51:20.016Z (about 2 months ago)
- Topics: userfrosting, userfrosting-sprinkle
- Language: PHP
- Size: 203 KB
- Stars: 5
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# User Extension Sprinkle (UserFrosting 5)
[](https://github.com/userfrosting/extend-user/releases)

[](LICENSE.md)
[](https://github.com/userfrosting/extend-user/actions)
[](https://app.codecov.io/gh/userfrosting/extend-user/branch/5.0)
[](https://github.styleci.io/repos/372359383)
[](https://github.com/userfrosting/extend-user/actions/workflows/PHPStan.yml)
[](https://chat.userfrosting.com)
[](https://opencollective.com/userfrosting#backer)
[](https://ko-fi.com/lcharette)Example sprinkle for extending the User class to contain additional fields. [See the learn documentation for more information](https://learn.userfrosting.com/recipes/extending-the-user-model).
# Installation
This sprinkle/example can be installed like any UserFrosting application or skeleton. See the [installation guide](https://learn.userfrosting.com/installation) for the required config and more info on the installation steps.
## Quick start
```bash
git clone https://github.com/userfrosting/extend-user.git
cd extend-user
composer install
php bakery bake
php bakery serve
```You can now access UserFrosting at : http://localhost:8080
## Docker
To run inside docker :
```bash
git clone https://github.com/userfrosting/extend-user.git
cd extend-user
docker-compose build --no-cache
docker-compose up -d
docker-compose exec app composer install
docker-compose exec app php bakery bake
```You can now access UserFrosting at : http://localhost:8080
## Documentation
- [Changelog](CHANGELOG.md)
- [Issues](https://github.com/userfrosting/UserFrosting/issues)
- [License](LICENSE.md)
- [Style Guide](https://github.com/userfrosting/.github/blob/main/.github/STYLE-GUIDE.md)## Contributing
This project exists thanks to all the people who contribute. If you're interested in contributing to the UserFrosting codebase, please see our [contributing guidelines](https://github.com/userfrosting/.github/blob/main/.github/CONTRIBUTING.md) as well as our [style guidelines](https://github.com/userfrosting/.github/blob/main/.github/STYLE-GUIDE.md).
[](https://github.com/userfrosting/sprinkle-core/graphs/contributors)