PHPackages                             shadowprince/uac - 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. shadowprince/uac

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

shadowprince/uac
================

User accounts library for shadowprince/slimext

0.1.5(12y ago)020BSDPHPPHP &gt;=5.2.0

Since Oct 11Pushed 12y ago1 watchersCompare

[ Source](https://github.com/ShadowPrince/uac)[ Packagist](https://packagist.org/packages/shadowprince/uac)[ Docs](http://shadowprince.github.com/uac)[ RSS](/packages/shadowprince-uac/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (3)Versions (7)Used By (0)

U\[ser\]ac\[counts\]
--------------------

[](#useraccounts)

Uac is component for [slimext](http://github.com/shadowprince/slimext). Provides user accounts features - creating, managing, authorization and more.

That component does not provide any views, just functions. [Typical usage example](http://github.com/shadowprince/uac/wiki/Example)

Cookie authorization
--------------------

[](#cookie-authorization)

If there is `"uac_sessid"` cookie (with session identifier), session receive from database, and if it's not expired, user is not deleted or not deactivated it becomes authorized, else session removes from database.

Uac models
----------

[](#uac-models)

### User

[](#user)

General data - username, password-hash, status, permissions, date joined. Used for authorization, permission system.

### UserProfile

[](#userprofile)

UserProfile (returned by `profile()` method of User) is model of class from application config (`"uac.user_profile"`)for additional data like email, reputation, etc.

### AuthSession

[](#authsession)

Information about user authorization sessions - each user can have unlimited count of sessions, one per cookie set.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity52

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.

###  Release Activity

Cadence

Every ~7 days

Total

6

Last Release

4561d ago

### Community

Maintainers

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

---

Tags

libraryslimextuser accounts

### Embed Badge

![Health badge](/badges/shadowprince-uac/health.svg)

```
[![Health](https://phpackages.com/badges/shadowprince-uac/health.svg)](https://phpackages.com/packages/shadowprince-uac)
```

###  Alternatives

[litesaml/lightsaml

SAML 2.0 PHP library

1055.5M18](/packages/litesaml-lightsaml)[2amigos/2fa-library

2 Factor Authentication (2FA) library

34367.1k7](/packages/2amigos-2fa-library)[spinen/laravel-discourse-sso

Integrate Discourse SSO into Laravel.

4897.8k](/packages/spinen-laravel-discourse-sso)

PHPackages © 2026

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