PHPackages                             userfrosting/extend-user - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. userfrosting/extend-user

ActiveUserfrosting-sprinkle[Database &amp; ORM](/categories/database)

userfrosting/extend-user
========================

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

5.0.0(2y ago)53554MITPHPPHP ^8.1

Since May 25Pushed 2y ago2 watchersCompare

[ Source](https://github.com/userfrosting/extend-user)[ Packagist](https://packagist.org/packages/userfrosting/extend-user)[ Docs](https://github.com/userfrosting/extend-user)[ Fund](https://ko-fi.com/lcharette)[ Fund](https://opencollective.com/userfrosting)[ RSS](/packages/userfrosting-extend-user/feed)WikiDiscussions 5.0 Synced 3d ago

READMEChangelog (4)Dependencies (15)Versions (6)Used By (0)

User Extension Sprinkle (UserFrosting 5)
========================================

[](#user-extension-sprinkle-userfrosting-5)

[![Version](https://camo.githubusercontent.com/5e4deef6a57774d2381a24cd0a2b508c4f0ed0ff99d5c8d55aba20801e1bd80f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f7573657266726f7374696e672f657874656e642d757365723f696e636c7564655f70726572656c6561736573)](https://github.com/userfrosting/extend-user/releases)[![PHP Version](https://camo.githubusercontent.com/67b59877746aa7768c6ccb01287c1b64b99dc5a9e392c212acd56cc4edff148a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253545382e312d627269676874677265656e)](https://camo.githubusercontent.com/67b59877746aa7768c6ccb01287c1b64b99dc5a9e392c212acd56cc4edff148a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253545382e312d627269676874677265656e)[![License](https://camo.githubusercontent.com/074b89bca64d3edc93a1db6c7e3b1636b874540ba91d66367c0e5e354c56d0ea/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e737667)](LICENSE.md)[![Build](https://camo.githubusercontent.com/763d953196254e4dcd551c263a51f418d49669f5c72eb46fe7e85bf30d924112/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7573657266726f7374696e672f657874656e642d757365722f4275696c642e796d6c3f6272616e63683d352e30266c6f676f3d676974687562)](https://github.com/userfrosting/extend-user/actions)[![Codecov](https://camo.githubusercontent.com/58d3e270a1f308a03becdd32542f4c8265b20dde7fa8cb4ff0bc45d1bb50ff6f/68747470733a2f2f636f6465636f762e696f2f67682f7573657266726f7374696e672f657874656e642d757365722f6272616e63682f352e302f67726170682f62616467652e737667)](https://app.codecov.io/gh/userfrosting/extend-user/branch/5.0)[![StyleCI](https://camo.githubusercontent.com/beba7a9315a00f39bc2e62e8d1106d4ab0d072a70f88518bee77a0d59cc7a1b2/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3337323335393338332f736869656c643f6272616e63683d352e30267374796c653d666c6174)](https://github.styleci.io/repos/372359383)[![PHPStan](https://camo.githubusercontent.com/42accbfbf86f010f19d0b5701e3fdfcd396c97d99f8f88f733aed2308eff4c8d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7573657266726f7374696e672f657874656e642d757365722f5048505374616e2e796d6c3f6272616e63683d352e30266c6162656c3d5048505374616e)](https://github.com/userfrosting/extend-user/actions/workflows/PHPStan.yml)[![Join the chat](https://camo.githubusercontent.com/162460efef40b0a23ac2179e20c5bbd0e9d44b333eb9801f4d45fe858adced67/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f436861742d5573657246726f7374696e672d627269676874677265656e3f6c6f676f3d526f636b65742e43686174)](https://chat.userfrosting.com)[![Donate](https://camo.githubusercontent.com/7cadda29748714306c1f13ae6ff9c243ee3c3be11d9bcea55af6b8b015c7e356/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4f70656e5f436f6c6c6563746976652d446f6e6174652d626c75653f6c6f676f3d4f70656e253230436f6c6c656374697665)](https://opencollective.com/userfrosting#backer)[![Donate](https://camo.githubusercontent.com/3a4850d1e9c402cd76626f6dc48d1764f103884839568b7db4ebc2e4ca75b51b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4b6f2d2d66692d446f6e6174652d626c75653f6c6f676f3d6b6f2d6669266c6f676f436f6c6f723d7768697465)](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
============

[](#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
-----------

[](#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 :

Docker
------

[](#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 :

Documentation
-------------

[](#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
------------

[](#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://camo.githubusercontent.com/69df552f14c7f3afa265fd25b82834db8a2f57ddbebffcac59ce94371aff1962/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f7573657266726f7374696e672f636f6e7472696275746f72732e7376673f77696474683d38393026627574746f6e3d74727565)](https://github.com/userfrosting/sprinkle-core/graphs/contributors)

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity76

Established project with proven stability

 Bus Factor1

Top contributor holds 59.4% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~843 days

Total

4

Last Release

746d ago

Major Versions

v4.1.1 → 5.0.02024-04-27

### Community

Maintainers

![](https://www.gravatar.com/avatar/bce29da6bbb78cd8571e173ec7edebd919323e8362d7ebecff8a93940d43f96f?d=identicon)[alexweissman](/maintainers/alexweissman)

---

Top Contributors

[![alexweissman](https://avatars.githubusercontent.com/u/5004534?v=4)](https://github.com/alexweissman "alexweissman (19 commits)")[![lcharette](https://avatars.githubusercontent.com/u/2566513?v=4)](https://github.com/lcharette "lcharette (11 commits)")[![josemachado94](https://avatars.githubusercontent.com/u/26184557?v=4)](https://github.com/josemachado94 "josemachado94 (2 commits)")

---

Tags

userfrostinguserfrosting-sprinkle

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/userfrosting-extend-user/health.svg)

```
[![Health](https://phpackages.com/badges/userfrosting-extend-user/health.svg)](https://phpackages.com/packages/userfrosting-extend-user)
```

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[mongodb/mongodb

MongoDB driver library

1.6k64.0M546](/packages/mongodb-mongodb)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90340.3M211](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
