PHPackages                             zijinghua-dev/zvoyager - 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. zijinghua-dev/zvoyager

ActiveLibrary

zijinghua-dev/zvoyager
======================

the consumer system of UserCenter Service

1.0.5.1(5y ago)077[1 PRs](https://github.com/zijinghua-dev/zvoyager/pulls)PHP

Since Mar 25Pushed 5y ago3 watchersCompare

[ Source](https://github.com/zijinghua-dev/zvoyager)[ Packagist](https://packagist.org/packages/zijinghua-dev/zvoyager)[ RSS](/packages/zijinghua-dev-zvoyager/feed)WikiDiscussions develop Synced 2d ago

READMEChangelog (6)Dependencies (4)Versions (18)Used By (0)

User Authentication System
==========================

[](#user-authentication-system)

Install
-------

[](#install)

1.安装命令

> composer require zijinghua/zvoyager

2.如果是第一次安装，或完全卸载后安装，需要执行初始化命令

> php artisan zvoyager:install

3.修改config/auth.php

> 修改auth.php中的guard

```
        'api' => [
            'driver' => 'zguard',
            'provider' => 'zusers',
            'hash' => false,
        ],
```

> 修改auth.php中的provider

```
        'zusers' => [
            'driver' => 'zuserprovider'
        ],
```

4.修改AuthController控制器

> 增加获取凭证方法

```
    /**
     * 获取凭证
     * @param $request
     * @return bool
     */
    protected function setCredentials($request)
    {
        collect(config('zvoyager.usercenter.fields'))->contains(function ($value) use ($request) {
            if ($account = $request->get($value)) {
                $this->account = $value;
                $this->username();
                $password = $request->get('password');
                $this->credentials = [$value => $account, 'password' => $password];
            }
        });
    }
```

5.修改auth中间件

> 修改App\\Http下的Kernel.php文件，更换auth中间件，当token生存周期结束时，刷新token

```
// 'auth' => \App\Http\Middleware\Authenticate::class,修改如下
'auth' => \Zijinghua\Zvoyager\Http\Middlewares\Authenticate::class,
```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 85.1% 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 ~12 days

Recently: every ~4 days

Total

16

Last Release

2052d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/dcf7b54c041e7f7250411a4b13baaaae80501a65867fd92a78745859f184fd90?d=identicon)[zijinghua-dev](/maintainers/zijinghua-dev)

---

Top Contributors

[![jiangyums](https://avatars.githubusercontent.com/u/28106511?v=4)](https://github.com/jiangyums "jiangyums (114 commits)")[![fengliang2011](https://avatars.githubusercontent.com/u/7171983?v=4)](https://github.com/fengliang2011 "fengliang2011 (11 commits)")[![griffyn](https://avatars.githubusercontent.com/u/694671?v=4)](https://github.com/griffyn "griffyn (9 commits)")

### Embed Badge

![Health badge](/badges/zijinghua-dev-zvoyager/health.svg)

```
[![Health](https://phpackages.com/badges/zijinghua-dev-zvoyager/health.svg)](https://phpackages.com/packages/zijinghua-dev-zvoyager)
```

###  Alternatives

[s-ichikawa/laravel-sendgrid-driver

This library adds a 'sendgrid' mail driver to Laravel.

4139.3M1](/packages/s-ichikawa-laravel-sendgrid-driver)[stechstudio/laravel-zipstream

A fast and simple streaming zip file downloader for Laravel.

4633.7M3](/packages/stechstudio-laravel-zipstream)[laravel-notification-channels/microsoft-teams

A Laravel Notification Channel for Microsoft Teams

1603.0M7](/packages/laravel-notification-channels-microsoft-teams)[spatie/laravel-export

Create a static site bundle from a Laravel app

646127.9k5](/packages/spatie-laravel-export)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

226102.4k](/packages/erag-laravel-disposable-email)[aedart/athenaeum

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

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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