PHPackages                             tnmdev/auth-service - 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. tnmdev/auth-service

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

tnmdev/auth-service
===================

Service integration for Auth Server

v1.0.5(6y ago)085MITPHP

Since Aug 21Pushed 5y ago1 watchersCompare

[ Source](https://github.com/saulchelewani/auth-service)[ Packagist](https://packagist.org/packages/tnmdev/auth-service)[ RSS](/packages/tnmdev-auth-service/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependencies (4)Versions (7)Used By (0)

Installation
============

[](#installation)

Install the package using composer

```
composer require tnmdev/auth-service

```

Migrate the tables

```
php artisan migrate

```

Install Laravel passport

```
php artisan passport:install

```

Create `env` variable `AUTH_SERVER_CLIENT_SECRET` and assign it the client secret provided by the auth server

Make the following changes in `App\User` model

- Implement `TNM\AuthService\Models\HasPermissions`
- Use `TNM\AuthService\Models\HasPermissionsTrait`
- Replace `protected $fillable...` with `protected $guarded = []`

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

Established project with proven stability

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

Total

6

Last Release

2452d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5d3b3fb05eea17b856fe1984117288d1d256a917b358555b801681301cefbb02?d=identicon)[saul.chelewani](/maintainers/saul.chelewani)

---

Top Contributors

[![saulchelewani](https://avatars.githubusercontent.com/u/12005903?v=4)](https://github.com/saulchelewani "saulchelewani (15 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/tnmdev-auth-service/health.svg)

```
[![Health](https://phpackages.com/badges/tnmdev-auth-service/health.svg)](https://phpackages.com/packages/tnmdev-auth-service)
```

###  Alternatives

[heptacom/shopware-platform-admin-open-auth

Shopware plugin to allow OAuth providers to provide admin logins

35133.7k](/packages/heptacom-shopware-platform-admin-open-auth)[descope/descope-php

Descope SDK for PHP

3814.0k](/packages/descope-descope-php)[truckersmp/steam-socialite

Laravel Socialite provider for Steam OpenID.

1516.7k](/packages/truckersmp-steam-socialite)

PHPackages © 2026

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