PHPackages                             pdustdar/passport-jwt-mongodb - 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. pdustdar/passport-jwt-mongodb

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

pdustdar/passport-jwt-mongodb
=============================

V1.0.1(5y ago)415PHPPHP &gt;=7.2

Since Feb 21Pushed 5y ago1 watchersCompare

[ Source](https://github.com/PooyaDustdar/passport-jwt-mongodb)[ Packagist](https://packagist.org/packages/pdustdar/passport-jwt-mongodb)[ RSS](/packages/pdustdar-passport-jwt-mongodb/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (3)Used By (0)

Laravel MongoDB
===============

[](#laravel-mongodb)

This package adds functionalities to the Eloquent model and Query builder for MongoDB, using the original Laravel API. *This library extends the original Laravel classes, so it uses exactly the same methods.*

- [Installation](#installation)

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

[](#installation)

Install the package via Composer:

```
$ composer require pdustdar/passport-jwt-mongodb
```

### Service Provider

[](#service-provider)

add the service provider to `config/app.php`:

```
Pdustdar\MongoPass\MongoPassServiceProvider::class,
```

Eloquent
--------

[](#eloquent)

### Extending the base model

[](#extending-the-base-model)

This package includes a MongoDB enabled Eloquent class that you can use to define models for corresponding collections.

```
use Pdustdar\MongoPass\User as Authenticatable;

class User extends Authenticatable
{
    //
}
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

Total

2

Last Release

1905d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/fb0371a2f8b8d79942a03074d23037f6fb0c9fcc5d2fd9826bb5129893c784bb?d=identicon)[pdustdar](/maintainers/pdustdar)

---

Top Contributors

[![PooyaDustdar](https://avatars.githubusercontent.com/u/16743813?v=4)](https://github.com/PooyaDustdar "PooyaDustdar (5 commits)")

### Embed Badge

![Health badge](/badges/pdustdar-passport-jwt-mongodb/health.svg)

```
[![Health](https://phpackages.com/badges/pdustdar-passport-jwt-mongodb/health.svg)](https://phpackages.com/packages/pdustdar-passport-jwt-mongodb)
```

###  Alternatives

[dusterio/lumen-passport

Making Laravel Passport work with Lumen

6511.3M9](/packages/dusterio-lumen-passport)[corbosman/laravel-passport-claims

Add claims to Laravel Passport JWT Tokens

88655.9k](/packages/corbosman-laravel-passport-claims)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)[truckersmp/steam-socialite

Laravel Socialite provider for Steam OpenID.

1516.7k](/packages/truckersmp-steam-socialite)[pschocke/laravel-telegram-login-widget

Easily integrate Telegrams login widget into your Laravel application to send Telegram messages

1610.4k](/packages/pschocke-laravel-telegram-login-widget)

PHPackages © 2026

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