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

ActiveLibrary

shellus/laravel-auth
====================

03PHP

Since Jan 15Pushed 6y ago1 watchersCompare

[ Source](https://github.com/shellus/laravel-auth-php)[ Packagist](https://packagist.org/packages/shellus/laravel-auth)[ RSS](/packages/shellus-laravel-auth/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

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

[](#laravel-auth)

laravel jwt 对接vue前端的扩展

1. 提供注册、登录（获取token），重设密码等路由和控制器
2. 使用laravel自带的Auth提供者
3. 因为 `tymon/jwt-auth` 版本和laravel不能一一对应，所以请自行在项目内依赖它

使用
--

[](#使用)

1. 执行 `composer require shellus/laravel-auth`
2. 在 `config/app.php` 添加提供者 `\Shellus\LaravelAuth\AuthProvider::class`
3. 在前端项目添加 `https://www.npmjs.com/package/laravel-auth`

### 注意

[](#注意)

1. 记得生成 `JWT_SECRET`： 执行 `php artisan jwt:secret`
2. 如果要使用重设密码功能，按laravel邮件文档配置好邮箱服务即可

### jwt和laravel版本对应

[](#jwt和laravel版本对应)

laravel 版本jwt版本laravel5.6"tymon/jwt-auth": "1.0.0-rc.2"

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

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.

### Community

Maintainers

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

### Embed Badge

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

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

PHPackages © 2026

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