PHPackages                             devuniverse/api-user-provider-1 - 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. [API Development](/categories/api)
4. /
5. devuniverse/api-user-provider-1

ActiveLibrary[API Development](/categories/api)

devuniverse/api-user-provider-1
===============================

Laravel UserProvider over rest api

v0.2.0(7y ago)02MITPHPPHP ^7.1

Since Nov 14Pushed 5y agoCompare

[ Source](https://github.com/devuniverse/api-user-provider-1)[ Packagist](https://packagist.org/packages/devuniverse/api-user-provider-1)[ RSS](/packages/devuniverse-api-user-provider-1/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)Dependencies (6)Versions (13)Used By (0)

Laravel Api User Provider
=========================

[](#laravel-api-user-provider)

Install
-------

[](#install)

Add repository to composer.json file.

```
  "repositories": [
      {
        "type": "vcs",
        "url": "https://github.com/cesg/api-user-provider"
      }
    ]

```

Add composer dependecie

```
  composer require cesg/api-user-provider

```

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

[](#configuration)

publish the config file

```
  php artisan vendor:publish --provider="Cesg\Auth\Provider\ApiUserServiceProvider" --tag="config"

```

```
return [
    'uri' => env('', 'localhost/api/v1/users'),
    'bearer_token' => env('USER_PROVIDER_API_TOKEN', ''),
    'headers' => []
];
```

Set the driver in auth config file.

```
return [
    'providers' => [
              'users' => [
                  'driver' => 'api-users',
                  'model' => Cesg\Auth\Provider\User::class,
              ]
          ],
]
```

If you use laravel/passport need extend the Cesg\\Auth\\Provider\\User and add the trait Laravel\\Passport\\HasApiTokens and set the provider model to you own class.

```
  class User extends \Cesg\Auth\Provider\User
  {
      use HasApiTokens;
  }
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.7% 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 ~21 days

Recently: every ~3 days

Total

12

Last Release

2869d ago

### Community

Maintainers

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

---

Top Contributors

[![cesg](https://avatars.githubusercontent.com/u/896275?v=4)](https://github.com/cesg "cesg (18 commits)")[![devuniverse](https://avatars.githubusercontent.com/u/45764367?v=4)](https://github.com/devuniverse "devuniverse (3 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/devuniverse-api-user-provider-1/health.svg)

```
[![Health](https://phpackages.com/badges/devuniverse-api-user-provider-1/health.svg)](https://phpackages.com/packages/devuniverse-api-user-provider-1)
```

###  Alternatives

[simplestats-io/laravel-client

Client for SimpleStats!

4515.5k](/packages/simplestats-io-laravel-client)[aedart/athenaeum

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

245.2k](/packages/aedart-athenaeum)[njoguamos/laravel-plausible

A laravel package for interacting with plausible analytics api.

208.8k](/packages/njoguamos-laravel-plausible)[surface/laravel-webfinger

A Laravel package to create an ActivityPub webfinger.

113.8k](/packages/surface-laravel-webfinger)

PHPackages © 2026

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