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 52% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity57

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

722d 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

[statamic/cms

The Statamic CMS Core Package

4.8k3.6M993](/packages/statamic-cms)[code16/sharp

Laravel Content Management Framework

79164.7k8](/packages/code16-sharp)[inertiaui/modal

Inertia Modal

238353.0k](/packages/inertiaui-modal)[emargareten/inertia-modal

Inertia Modal is a Laravel package that lets you implement backend-driven modal dialogs for Inertia apps.

90142.9k](/packages/emargareten-inertia-modal)[erag/laravel-lang-sync-inertia

A powerful Laravel package for syncing and managing language translations across backend and Inertia.js (Vue/React/Svelte) frontends, offering effortless localization, auto-sync features, and smooth multi-language support for modern Laravel applications.

4925.3k](/packages/erag-laravel-lang-sync-inertia)[nunomaduro/laravel-starter-kit-inertia-react

The skeleton application for the Laravel framework.

2071.1k](/packages/nunomaduro-laravel-starter-kit-inertia-react)

PHPackages © 2026

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