Skip to content

Example sprinkle for extending the User class to contain additional fields

License

Notifications You must be signed in to change notification settings

userfrosting/extend-user

Repository files navigation

User Extension Sprinkle (UserFrosting 5)

Version PHP Version License Build Codecov StyleCI PHPStan Join the chat Donate Donate

Example sprinkle for extending the User class to contain additional fields. See the learn documentation for more information.

Installation

This sprinkle/example can be installed like any UserFrosting application or skeleton. See the installation guide for the required config and more info on the installation steps.

Quick start

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 :

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

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 as well as our style guidelines.