PHPackages                             ptdtn/laravel-auth-sdk - 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. ptdtn/laravel-auth-sdk

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

ptdtn/laravel-auth-sdk
======================

OAuth single sign-on PT DTN accounts

v0.1.0(2y ago)041MITPHPPHP ^7.4|^8.0

Since Jun 17Pushed 2y ago2 watchersCompare

[ Source](https://github.com/ptdtn/laravel-auth-sdk)[ Packagist](https://packagist.org/packages/ptdtn/laravel-auth-sdk)[ RSS](/packages/ptdtn-laravel-auth-sdk/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (10)Dependencies (3)Versions (11)Used By (0)

laravel-auth-sdk
================

[](#laravel-auth-sdk)

A simple library for using PTDTN OAuth Authentication.

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

[](#installation)

Use composer to manage your dependencies and download PHP-JWT:

`composer require ptdtn/laravel-auth-sdk`

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

[](#configuration)

Run `php artisan vendor:publish --tag="ptdtntoken"` to copy default configuration to your project

Run `php artisan migrate` to add column ptdtnuser\_id to users table

Edit your `config/ptdtntoken.php` according to your PTDTN client ID

Edit your laravel guard configuration in `config/auth.php` to use the provided guard

`'guards' => [ 'web' => [ 'driver' => 'ptdtntoken', 'provider' => 'users', 'client_index' => 0, ], 'api' => [ 'driver' => 'ptdtntoken', 'provider' => 'users', 'client_index' => 0, ], 'custom' => [ 'driver' => 'ptdtntoken', 'provider' => 'users', 'client_index' => 1, ] ],`

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity46

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

Recently: every ~26 days

Total

10

Last Release

968d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/64d9ed842187b3db93c112e86e7cd02957d2d32f5b62c213473bd88d62d5f316?d=identicon)[defox12](/maintainers/defox12)

---

Top Contributors

[![defox12](https://avatars.githubusercontent.com/u/10056868?v=4)](https://github.com/defox12 "defox12 (11 commits)")

### Embed Badge

![Health badge](/badges/ptdtn-laravel-auth-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/ptdtn-laravel-auth-sdk/health.svg)](https://phpackages.com/packages/ptdtn-laravel-auth-sdk)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[laravel/horizon

Dashboard and code-driven configuration for Laravel queues.

4.2k95.4M307](/packages/laravel-horizon)[illuminate/database

The Illuminate Database package.

2.8k54.9M11.7k](/packages/illuminate-database)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M203](/packages/laravel-ai)[illuminate/auth

The Illuminate Auth package.

10528.2M1.2k](/packages/illuminate-auth)[moonshine/moonshine

Laravel administration panel

1.3k253.1k80](/packages/moonshine-moonshine)

PHPackages © 2026

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