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

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

geodeticca/laravel-iam
======================

Simple package to provide support to geodeticca IAM.

v4.x-dev(2y ago)1510[3 PRs](https://github.com/geodeticca/laravel-iam/pulls)MITPHPPHP &gt;=7.4.0

Since Oct 1Pushed 2y ago1 watchersCompare

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

READMEChangelogDependencies (9)Versions (8)Used By (0)

User authentication via JWT for Lavarel by Geodeticca
=====================================================

[](#user-authentication-via-jwt-for-lavarel-by-geodeticca)

Simple package extending laravel auth via JWT.

About
-----

[](#about)

Package that it is required is dense\\enum package which is just few simple classes for easier enumerations handling.

Instalation
-----------

[](#instalation)

Run following composer command.

```
composer require geodeticca/iam
composer require laravel/ui

```

Run artisan command

```
php artisan iam:generate

```

This command will generate controllers in App\\Http\\Conrollers\\Iam directory.

Configuration
-------------

[](#configuration)

Add these lines on top of the web routes configration file in routes/web.php.

```
Auth::routes([
    'register' => false,
    'verify' => false,
    'reset' => false,
]);

```

Add these settings to config/auth.php file.

```
'defaults' => [
    'guard' => 'web',
    'passwords' => 'users',
],

'guards' => [
    'web' => [
        'driver' => 'geodeticca-web',
    ],

    'api' => [
        'driver' => 'geodeticca-api',
    ],

    'autologin' => [
        'driver' => 'geodeticca-autologin',
    ],
],

```

If you need only token for javascript application or testing purposes. Login process requires system user account details.

```
$guard = Auth::guard('autologin');

$attempt = $guard->attempt([
    'app' => config('iam.app'),
    'login' => config('iam.service.login'),
    'password' => config('iam.service.password'),
]);

if (!$attempt) {
    throw new \Exception('Invalid login.');
}

$tokem = $guard->getProvider()->getJwtToken();

```

If you are running lumen you need to add following lines to bootstrap/app.php file.

```
$app->register(\Geodeticca\Iam\IamServiceProvider::class);

```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

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.

###  Release Activity

Cadence

Every ~254 days

Total

4

Last Release

972d ago

Major Versions

v1.x-dev → v2.x-dev2022-04-25

v2.x-dev → v3.x-dev2023-08-21

v3.x-dev → v4.x-dev2023-11-03

PHP version history (2 changes)v1.x-devPHP &gt;=7.3.0

v2.x-devPHP &gt;=7.4.0

### Community

Maintainers

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

---

Top Contributors

[![dense-team](https://avatars.githubusercontent.com/u/8276865?v=4)](https://github.com/dense-team "dense-team (41 commits)")

---

Tags

laraveliamgeodeticca

### Embed Badge

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

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

###  Alternatives

[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9762.4M129](/packages/roots-acorn)[craftcms/cms

Craft CMS

3.6k3.6M3.0k](/packages/craftcms-cms)[unopim/unopim

UnoPim Laravel PIM

10.5k2.4k](/packages/unopim-unopim)[php-open-source-saver/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

84611.1M63](/packages/php-open-source-saver-jwt-auth)[hasinhayder/tyro

Tyro - The ultimate Authentication, Authorization, and Role &amp; Privilege Management solution for Laravel 12 &amp; 13

6783.6k6](/packages/hasinhayder-tyro)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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