PHPackages                             pohoc/sa-token - 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. pohoc/sa-token

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

pohoc/sa-token
==============

一个轻量级 PHP 权限认证框架，灵感源自 sa-token

v0.1.2(2w ago)39↓100%MITPHP ^8.1

Since Apr 9Compare

[ Source](https://github.com/pohoc/sa-token)[ Packagist](https://packagist.org/packages/pohoc/sa-token)[ Docs](https://github.com/pohoc/sa-token)[ RSS](/packages/pohoc-sa-token/feed)WikiDiscussions Synced 1w ago

READMEChangelogDependencies (7)Versions (5)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/pohoc/sa-token).

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance96

Actively maintained with recent releases

Popularity10

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity35

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.

###  Release Activity

Cadence

Every ~13 days

Total

4

Last Release

19d ago

PHP version history (2 changes)v0.0.1PHP ^8.1|^8.2|^8.3|^8.4

v0.1.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/9bca49f8071a4c90840c649de00740345859b9d865d8cf458bddce0fcccaafad?d=identicon)[pohoc](/maintainers/pohoc)

---

Tags

jwtauthAuthenticationSSOoauth2authorizationsessionsa-token

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/pohoc-sa-token/health.svg)

```
[![Health](https://phpackages.com/badges/pohoc-sa-token/health.svg)](https://phpackages.com/packages/pohoc-sa-token)
```

###  Alternatives

[league/oauth2-server

A lightweight and powerful OAuth 2.0 authorization and resource server library with support for all the core specification grants. This library will allow you to secure your API with OAuth and allow your applications users to approve apps that want to access their data from your API.

6.6k143.0M269](/packages/league-oauth2-server)[google/auth

Google Auth Library for PHP

1.4k286.7M203](/packages/google-auth)[calcinai/oauth2-xero

Xero OAuth 2.0 Client Provider for The PHP League OAuth2-Client

103.3M4](/packages/calcinai-oauth2-xero)

PHPackages © 2026

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