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

ActiveLibrary

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 1mo 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 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity45

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

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

[illuminate/pipeline

The Illuminate Pipeline package.

9446.6M213](/packages/illuminate-pipeline)[illuminate/pagination

The Illuminate Pagination package.

10532.5M862](/packages/illuminate-pagination)[spatie/laravel-prometheus

Export Laravel metrics to Prometheus

2651.3M6](/packages/spatie-laravel-prometheus)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

44643.1k1](/packages/pressbooks-pressbooks)[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)[dragon-code/migrate-db

Easy data transfer from one database to another

15717.4k](/packages/dragon-code-migrate-db)

PHPackages © 2026

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