PHPackages                             virtualcomplete/user-extension - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. virtualcomplete/user-extension

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

virtualcomplete/user-extension
==============================

Package to extend and standardize additional user attributes for cross-compatibility of Laravel packages

110PHP

Since Feb 5Pushed 9y ago2 watchersCompare

[ Source](https://github.com/virtualcomplete/user-extension)[ Packagist](https://packagist.org/packages/virtualcomplete/user-extension)[ RSS](/packages/virtualcomplete-user-extension/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![Build Status](https://camo.githubusercontent.com/329c476e68ed1c0464adedd750c14babf625c274c1d04ceb80ed84c4e4638ad6/68747470733a2f2f7472617669732d63692e6f72672f7669727475616c636f6d706c6574652f757365722d657874656e73696f6e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/virtualcomplete/user-extension)

Laravel User Extension
======================

[](#laravel-user-extension)

Package to extend and standardize additional user attributes in Laravel

Why is this needed?
-------------------

[](#why-is-this-needed)

The standard users table only contains a select few fields. This is by design, of course, allowing people to use Laravel for many purposes, but this project is designed for any of the following use cases:

1. Business projects that need additional user information and the ability to store multiple addresses or phone numbers for a single user.
2. Cross compatibility with Laravel packages. The idea is to standardize the additional user attributes so Laravel packages can more easily work together using the same method of accessing these attributes.

UserExtension
-------------

[](#userextension)

Functionality: Adds additional fields to the users table and properties to the User model.

**Adds the fields to the users table:**

- company\_name
- country (2 char)
- language (2 char)
- time\_zone (meant to be linux format: America/New\_York)
- deleted\_at (soft deletes)

**Adds a user\_addresses table with relationship to User:**

- type (ex. Physical, Billing, Mailing)
- line\_1
- line\_2
- city
- state
- zip
- country
- default (0/1)

**Adds a user\_phones table with relationship to User:**

- type (ex. Mobile, Work, Home)
- number (+\\d only, ex: +1 (555) 555-5555 becomes +15555555555, makes it easily searchable)
- extension
- default (0/1)

**Installation Steps:**

1. Run user\_extension migration
2. Add `implements UserExtensionInterface` to your User Model
3. Add `use UserExtensionTrait` to your User Model

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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.

### Community

Maintainers

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

### Embed Badge

![Health badge](/badges/virtualcomplete-user-extension/health.svg)

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

###  Alternatives

[kartik-v/yii2-password

Useful password strength validation utilities for Yii Framework 2.0

761.3M17](/packages/kartik-v-yii2-password)

PHPackages © 2026

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