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

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

processton-io/processton-user
=============================

Processton Interactions to manage users

1.1.11(1y ago)0211MITPHPPHP ^7.4|^8.0|^8.1

Since Jul 9Pushed 1y agoCompare

[ Source](https://github.com/processton-io/processton-user)[ Packagist](https://packagist.org/packages/processton-io/processton-user)[ Docs](https://github.com/processton-io/processton-user)[ RSS](/packages/processton-io-processton-user/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (5)Versions (14)Used By (1)

Processton User
===============

[](#processton-user)

[![Latest Version on Packagist](https://camo.githubusercontent.com/590ad3862c6db704750090c7338ab9492a52bce355f1dc84c952bc0aac6f69f8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f70726f63657373746f6e2d696f2f70726f63657373746f6e2d757365722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/processton-io/processton-user)[![Total Downloads](https://camo.githubusercontent.com/c3ba709af8a0b6f46a1fbf93005c34c2a5186428dace9568ef0f6c861ba45c89/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f70726f63657373746f6e2d696f2f70726f63657373746f6e2d757365722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/processton-io/processton-user)[![GitHub Actions](https://github.com/processton-io/processton-user/actions/workflows/main.yml/badge.svg)](https://github.com/processton-io/processton-user/actions/workflows/main.yml/badge.svg)

This is a module for processton-setup provides user management feature. This module provides following functionalities to the processton setup.

- Add User/Role
- Users/Roles Listing
- Allow/Block User
- Role Permissions

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

[](#installation)

You can install the package via composer:

```
composer require processton-io/processton-user
```

Usage
-----

[](#usage)

After installation publish configurations and resolvers.

```
php artisan vendor:publish
```

Run migrations

```
php artisan migrate
```

Extend you user model using Trait

```
use Processton\ProcesstonUser\Models\Trait\ProcesstonUser;
```

```
class User {
    use ProcesstonUser;
}
```

above script will add three functions to your User model

```
$request->user()->role;
//Return role assigned to the user

$request->user()->permissions;
//Return array of permissions assign to user role.

$request->user()->havePermission($permission, $createNew = true);
//Check does user have specified permission or not. pass permission key as argument. If second argument is true checked permission will automatically get mapped from configuration file and database record will be created.
```

This package follow standard Processton App module functionality. module config file have

- base\_url (users)

- menu\_items
    - Users
    - Roles
- interactions
    - Users
    - Roles
- charts
    - total\_users
    - new\_users
    - total\_sessions ! not working yet
    - pending\_validation
    - avg\_sessions\_duration !not working yet
- resolvers
    - user-invitation
    - user-block
    - user-un-block
    - reset-password-email
- permission\_mappings
    - admin.setup.users
    - admin.setup.users.block
    - admin.setup.users.unblock
    - admin.setup.users.resetpassword
    - admin.setup.roles
    - admin.setup.roles.edit
    - admin.setup.roles.permissions

You can publish and alter them as per your needs.

This module uses three Primary models

- User
- Role
- Permission

```
Remember First Role always have all permissions.
```

### Testing

[](#testing)

testing is not available for this module yet.

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please use issue tracker.

Credits
-------

[](#credits)

- [Ahmad Faryab Kokab](https://github.com/afaryab)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity56

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.

###  Release Activity

Cadence

Every ~0 days

Total

13

Last Release

665d ago

PHP version history (2 changes)1.0.0PHP ^7.4|^8.0

1.1.0PHP ^7.4|^8.0|^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/83275f3144d4cc4092e54dd8d5acf6a048536f6d7e454d741ae82a61f904c737?d=identicon)[ahmadkokab](/maintainers/ahmadkokab)

---

Top Contributors

[![afaryab](https://avatars.githubusercontent.com/u/68786248?v=4)](https://github.com/afaryab "afaryab (14 commits)")

---

Tags

processtonprocesston-user

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/processton-io-processton-user/health.svg)

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

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[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)[openeuropa/oe_authentication

Authentication against the OpenEuropa Authentication service.

17314.8k2](/packages/openeuropa-oe-authentication)

PHPackages © 2026

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