PHPackages                             saibal-roy/laravel-iam - 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. saibal-roy/laravel-iam

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

saibal-roy/laravel-iam
======================

An elegant way to manage the identity access management for the Laravel framework

1.0.6(6y ago)12141MITPHPPHP ^7.1.3CI failing

Since Nov 15Pushed 6y ago3 watchersCompare

[ Source](https://github.com/saibal-roy/laravel-iam)[ Packagist](https://packagist.org/packages/saibal-roy/laravel-iam)[ Docs](https://github.com/saibal-roy/laravel-iam)[ RSS](/packages/saibal-roy-laravel-iam/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (2)Dependencies (3)Versions (8)Used By (0)

LaravelIAM
==========

[](#laraveliam)

An elegant way to manage the identity access management for the Laravel framework. An approach being taken with the following points in mind:

1. If you want to have a seperate Identity access management dashboard.
2. Your existing application user table will not be affected.
3. Customizable configurations via the config file.
4. Roles and permissions setup with spatie permissions package. Thanks to their wonderful work.

Features
--------

[](#features)

1. Laravel version support from 5.6 onwards.
2. Seperate Identity Access Management dashboard
3. Manage users
4. Manage roles
5. Manage permissions
6. Impersonate users login

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

[](#installation)

Via Composer

```
    composer require saibal-roy/laravel-iam
```

Create Authentication scaffolding: For Laravel version &lt; 5.8

```
    php artisan make:auth
```

For Laravel version 6.x

```
    composer require laravel/ui "^1.0" --dev
    php artisan ui bootstrap --auth
```

For Laravel version 7.x

```
    composer require laravel/ui
    php artisan ui bootstrap --auth
```

#### Please make sure laravel authentication scaffolding is being completed before you proceed further.

[](#please-make-sure-laravel-authentication-scaffolding-is-being-completed-before-you-proceed-further)

Artisan

```
    php artisan migrate
    php artisan laravel-iam:setup-root # to setup the root user
    php artisan laravel-iam:publish --force # for each new package update for all publishable contents
```

Default Credentials and Dashboard

```
    Username : sudo@email.com
    Password : secret
    User : {domain}/iam or localhost:8000/iam (locally)
```

Usage
-----

[](#usage)

Artisan commands

```
# for each new package update for all publishable contents
php artisan laravel-iam:publish --force

# can also use it to reset the root user credentials
php artisan laravel-iam:setup-root
```

Advanced Usage
--------------

[](#advanced-usage)

Config constants that can be modified via .env

```
#   /*
#    |--------------------------------------------------------------------------
#    | LaravelIAM Identity configurations
#    |--------------------------------------------------------------------------
#    |
#    | This configuration options determines the identity table that will
#    | be used to store Laravel IAM's data. In addition,
#    | you may set any custom options as needed.
#    |
#    */

    'identity_table' => env('LARAVELIAM_TABLE', 'users'),
    'identity_pk' => env('LARAVELIAM_TBL_PK_COLUMN', 'email'),
    'identity_name' => env('LARAVELIAM_TBL_NAME_COLUMN', 'name'),
    'identity_password' => env('LARAVELIAM_TBL_PWD_COLUMN', 'password'),

#   /*
#    |--------------------------------------------------------------------------
#    | LaravelIAM Root User values
#    |--------------------------------------------------------------------------
#    |
#    | This configuration options determines the root user credentials. In addition,
#    | you may set any custom options as needed.
#    |
#    */

    'sudo_user_name' => 'sudo',
    'sudo_user_pk' => 'sudo@email.com',
    'sudo_password' => 'secret'
```

Get the LarvelIam User wrapper to access all the roles and permissions of spatie package.

```
    app('laraveliam')->identity()

```

Check the current user is a allowed user for viewing LaravelIam Dashboard.

```
    app('laraveliam')->iam()

```

Change log
----------

[](#change-log)

Please see the [changelog](changelog.md) for more information on what has changed recently.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

License
-------

[](#license)

MIT license. Please see the [license file](license.md) for more information.

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity62

Established project with proven stability

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

Recently: every ~135 days

Total

7

Last Release

2216d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/17637294?v=4)[saibalroy](/maintainers/saibalroy)[@saibalroy](https://github.com/saibalroy)

---

Tags

laravelLaravel rbac implementation with guiIdentity access managementImpersonate users login

### Embed Badge

![Health badge](/badges/saibal-roy-laravel-iam/health.svg)

```
[![Health](https://phpackages.com/badges/saibal-roy-laravel-iam/health.svg)](https://phpackages.com/packages/saibal-roy-laravel-iam)
```

###  Alternatives

[typicms/base

A modular multilingual CMS built with Laravel, enabling developers to manage structured content like pages, news, events, and more.

1.6k20.4k](/packages/typicms-base)[nasirkhan/laravel-starter

A CMS like modular Laravel starter project.

1.4k2.7k](/packages/nasirkhan-laravel-starter)

PHPackages © 2026

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