userfrosting / extend-user
An example Sprinkle for extending the User model and table with additional fields or relationships.
Installs: 349
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 4
Forks: 4
Open Issues: 0
Type:userfrosting-sprinkle
Requires
- php: ^8.1
- ext-gd: *
- userfrosting/framework: ~5.1.0
- userfrosting/sprinkle-account: ~5.1.0
- userfrosting/sprinkle-admin: ~5.1.0
- userfrosting/sprinkle-core: ~5.1.0
- userfrosting/theme-adminlte: ~5.1.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.0
- league/factory-muffin: ^3.0
- league/factory-muffin-faker: ^2.0
- mockery/mockery: ^1.2
- phpstan/phpstan: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-mockery: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- phpstan/phpstan-strict-rules: ^1.0
- phpunit/phpunit: ^10.5
This package is auto-updated.
Last update: 2024-10-29 00:06:40 UTC
README
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.