PHPackages                             jgermade/user-model - 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. jgermade/user-model

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

jgermade/user-model
===================

04PHP

Since Mar 6Pushed 11y agoCompare

[ Source](https://github.com/jgermade/UserModel)[ Packagist](https://packagist.org/packages/jgermade/user-model)[ RSS](/packages/jgermade-user-model/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

UserModel(.php)
===============

[](#usermodelphp)

> UserModel - Provides an automated method to access user data.

> Copyright (C) 2014 Jesús Manuel Germade Castiñeiras

> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License.

=======

##### How to use

[](#how-to-use)

```
require("UserModel.php");
$user = new UserModel();

if( $user->isLogged() ) {

  echoJSON([ "items" => $user->model("items")->get() ]);

} else {

  http_response_code(403);
  echoJSON([ "error" => "unauthorized" ]);

}

```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/594d6423587f81f32625db00ea1301a37f5d54a020b23eaac6a6643dd1bf6f0f?d=identicon)[jgermade](/maintainers/jgermade)

---

Top Contributors

[![jgermade](https://avatars.githubusercontent.com/u/2305833?v=4)](https://github.com/jgermade "jgermade (17 commits)")

### Embed Badge

![Health badge](/badges/jgermade-user-model/health.svg)

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

###  Alternatives

[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)[beatswitch/lock

A flexible, driver based Acl package for PHP 5.4+

870304.7k2](/packages/beatswitch-lock)[amocrm/amocrm-api-library

amoCRM API Client

182728.5k6](/packages/amocrm-amocrm-api-library)[vonage/jwt

A standalone package for creating JWTs for Vonage APIs

424.1M4](/packages/vonage-jwt)

PHPackages © 2026

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