PHPackages                             jsadways/authenticator - 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. jsadways/authenticator

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

jsadways/authenticator
======================

1.0.25(5mo ago)0485↓75%1PHPPHP &gt;=8.1

Since Feb 23Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/JsAdways/js_Authenticator)[ Packagist](https://packagist.org/packages/jsadways/authenticator)[ RSS](/packages/jsadways-authenticator/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependencies (1)Versions (27)Used By (1)

Js 使用者驗證/JsAuthenticate
-----------------------

[](#js-使用者驗證jsauthenticate)

JsAuthenticate 是 Laravel 框架套件，用於使用者認證管理。

功能
--

[](#功能)

- 登入 API
- 使用者 Middleware 驗證

安裝
--

[](#安裝)

1. 下載套裝

```
composer require jsadways/authenticator

```

2. 將套件可設定配置複製到專案

```
php artisan vendor:publish --provider="Js\Authenticator\Providers\AuthServiceProvider"

```

3. 在專案 .env 添加帳號驗證網址與前端網址

```
JS_AUTH_HOST='http://authenticate.tw'
FORESTAGE_URL='http://172.16.1.156:3100/struct'

```

使用
--

[](#使用)

- 套件有提供 Middleware 驗證功能，名稱為 js-authenticate-middleware-alias，在進行驗證成功之後會在請求加入 user\_id。

```
// 在需驗證位置加入 js-authenticate-middleware-alias 中間件
Route::middleware(['js-authenticate-middleware-alias'])->group(function () {
    // 路徑
});

```

###  Health Score

43

—

FairBetter than 90% of packages

Maintenance70

Regular maintenance activity

Popularity16

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 63.4% 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 ~27 days

Total

26

Last Release

170d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1a2da5558a0ae5dd3db858692625743a90f0ddfeb11af514ea66da48d7dfd0e8?d=identicon)[JsAdways](/maintainers/JsAdways)

---

Top Contributors

[![ottosak](https://avatars.githubusercontent.com/u/150006407?v=4)](https://github.com/ottosak "ottosak (26 commits)")[![alvin-js](https://avatars.githubusercontent.com/u/59727853?v=4)](https://github.com/alvin-js "alvin-js (14 commits)")[![joohnnycyc](https://avatars.githubusercontent.com/u/150417951?v=4)](https://github.com/joohnnycyc "joohnnycyc (1 commits)")

### Embed Badge

![Health badge](/badges/jsadways-authenticator/health.svg)

```
[![Health](https://phpackages.com/badges/jsadways-authenticator/health.svg)](https://phpackages.com/packages/jsadways-authenticator)
```

###  Alternatives

[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135212.4k7](/packages/statamic-rad-pack-runway)

PHPackages © 2026

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