PHPackages                             erdiko/users - 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. erdiko/users

AbandonedArchivedLibrary[Database &amp; ORM](/categories/database)

erdiko/users
============

User model standard

1.0.0(8y ago)71.3k5[5 issues](https://github.com/Erdiko/users/issues)1MITPHPPHP &gt;=5.5.0

Since Nov 14Pushed 8y ago5 watchersCompare

[ Source](https://github.com/Erdiko/users)[ Packagist](https://packagist.org/packages/erdiko/users)[ Docs](http://erdiko.org)[ RSS](/packages/erdiko-users/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (4)Versions (23)Used By (1)

Users
=====

[](#users)

[![Package version](https://camo.githubusercontent.com/681e9e952865664c5177faf78e2c99f60838e726fea6d2b95a06859cab667a22/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f657264696b6f2f75736572732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/erdiko/users)[![CircleCI](https://camo.githubusercontent.com/d4ee0f650ef8ba949ce93e7121fc1fc1a69b5f97b55789abf4f0502d07c26d23/68747470733a2f2f696d672e736869656c64732e696f2f636972636c6563692f70726f6a6563742f6769746875622f457264696b6f2f75736572732f646576656c6f702e7376673f7374796c653d666c61742d737175617265)](https://circleci.com/gh/Erdiko/users)[![license](https://camo.githubusercontent.com/2de4cf6508f05dda6768096cb23f2325acb0a63490052a1d562242d38e59125a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f657264696b6f2f75736572732e7376673f7374796c653d666c61742d737175617265)](https://github.com/Erdiko/users/blob/master/LICENSE)

**Erdiko Users**

The `erdiko/users` is a package adding Service Models and AJAX endpoints for user management in a Erdiko application or your custom application. It will allow you to authenticate and authorize your users as well as create a user entity stored in a database.

Erdiko users leverages our [authenticate](https://github.com/Erdiko/authenticate) and [authorization](https://github.com/Erdiko/authorize) packages.

Installation
------------

[](#installation)

### Install the package via Composer

[](#install-the-package-via-composer)

Add package using composer

`composer require erdiko/users`

### Create &amp; Install the DB

[](#create--install-the-db)

This package relies upon a number of database tables to store user records. You must create the database &amp; tables before you can use this package.

We highly recomend installing the DB and tables with our install scripts found in the erdiko/user-admin repo (`scripts/install-db.sh`). More information can be found on the erdiko/user-admin README file.

If you would like to install the database manually, please use the `users\sql\dumps\user-admin.sql` to create the database defintion.

### Add the required routes to your Erdiko application

[](#add-the-required-routes-to-your-erdiko-application)

Below are examples of the minimum required routes to interact with the `users` package:

- Login Controller OR UserAuthenticationAjax Controller Route
    - The Login Controller exposes self-contained login/logout actions and views, these methods expose an HTML form to allow users to login
        - `"/[ROUTE NAME]/:action": "\erdiko\users\controllers\admin\UserAjax"`
    - The UserAuthenticationAjax controller provides actions to manage login/logout and password related situations as forgotPass and changePassword. This route is for AJAX login &amp; logout.
        - `"/[ROUTE NAME]/:action": "\erdiko\users\controllers\UserAuthenticationAjax"`
- Userajax Controller Route
    - Provides actions relative to manage users without privileges, to have it accessible.
        - `"/[ROUTE NAME]]/:action": "\erdiko\users\controllers\UserAjax"`
- admin\\Userajax Controller Route
    - Provides actions relative to manage users as admin level
        - `"/ROUTE NAME]/:action": "\erdiko\users\controllers\admin\Userajax"`

##### Example Route Config

[](#example-route-config)

Below is an example config containing all the AJAX endpoints exposed by the package:

```
 {
     "routes": {
         "/ajax/users/admin/:action": "\erdiko\users\controllers\admin\UserAjax",
         "/ajax/users/:action": "\erdiko\users\controllers\UserAjax",
         "/ajax/roles/:action": "\erdiko\users\controllers\RoleAjax",
         "/ajax/auth/:action": "\erdiko\users\controllers\UserAuthenticationAjax",
         "/users/:action": "\erdiko\users\controllers\Login"
     }
 }

```

Project Documentation
---------------------

[](#project-documentation)

Complete project documentation can be found on our Erdiko documentation site (coming soon).

Special Thanks
--------------

[](#special-thanks)

Arroyo Labs - For sponsoring development,

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance6

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~56 days

Total

4

Last Release

3228d ago

Major Versions

0.1.2 → 1.0.02017-07-13

PHP version history (2 changes)0.1.0PHP &gt;=5.4.0

0.1.1PHP &gt;=5.5.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/691c8888935e19e59a2dd12e4e056e9b05991f4ebe696ef27fc01db8e9d1c984?d=identicon)[arroyolabs](/maintainers/arroyolabs)

---

Top Contributors

[![saarmstrong](https://avatars.githubusercontent.com/u/142324?v=4)](https://github.com/saarmstrong "saarmstrong (78 commits)")[![arroyo](https://avatars.githubusercontent.com/u/378457?v=4)](https://github.com/arroyo "arroyo (56 commits)")[![pinedamg](https://avatars.githubusercontent.com/u/818713?v=4)](https://github.com/pinedamg "pinedamg (29 commits)")[![ldaidone](https://avatars.githubusercontent.com/u/1054693?v=4)](https://github.com/ldaidone "ldaidone (26 commits)")

---

Tags

authenticationauthorizationdoctrineerdikophpusersusererdikoerdiko-user

### Embed Badge

![Health badge](/badges/erdiko-users/health.svg)

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

###  Alternatives

[cybercog/laravel-ban

Laravel Ban simplify blocking and banning Eloquent models.

1.1k651.8k11](/packages/cybercog-laravel-ban)[cybercog/laravel-nova-ban

A Laravel Nova banning functionality for your application.

40199.8k](/packages/cybercog-laravel-nova-ban)[yungts97/laravel-user-activity-log

A simple laravel package by yungts97 to easily monitor your laravel app user activity.

2323.0k](/packages/yungts97-laravel-user-activity-log)[boaideas/laravel-cli-create-user

An artisan command to create, list and remove users in a laravel application from the cli

1610.7k](/packages/boaideas-laravel-cli-create-user)[qirolab/laravel-bannable

Laravel bannable package is for blocking and banning Eloquent models.

173.0k](/packages/qirolab-laravel-bannable)

PHPackages © 2026

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