PHPackages                             janfish/swoft-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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. janfish/swoft-auth

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

janfish/swoft-auth
==================

Auth component for swoft

v1.0.4(7y ago)01101Apache-2.0PHP

Since Jun 15Pushed 3y agoCompare

[ Source](https://github.com/zeng444/swoft-auth-1)[ Packagist](https://packagist.org/packages/janfish/swoft-auth)[ RSS](/packages/janfish-swoft-auth/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependencies (8)Versions (7)Used By (1)

Swoft Auth
==========

[](#swoft-auth)

Swoft Auth Component(fixed by janfish)

Install
-------

[](#install)

- composer command

```
composer require swoft/auth
```

Document
--------

[](#document)

Now

- BasicAuth
- BearerToken (JWT)
- Acl

Future

- Oauth 2.0

Unit testing
------------

[](#unit-testing)

```
composer test
```

LICENSE
-------

[](#license)

The Component is open-sourced software licensed under the [Apache license](LICENSE).

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 60% 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 ~28 days

Total

6

Last Release

2751d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/60a62fd9f299f25558ac4a898ae3833bd7185ba4706bb167a8cabf05a3d96955?d=identicon)[Robert Zeng](/maintainers/Robert%20Zeng)

---

Top Contributors

[![aprchen](https://avatars.githubusercontent.com/u/13740363?v=4)](https://github.com/aprchen "aprchen (33 commits)")[![inhere](https://avatars.githubusercontent.com/u/5302062?v=4)](https://github.com/inhere "inhere (11 commits)")[![huangzhhui](https://avatars.githubusercontent.com/u/12077148?v=4)](https://github.com/huangzhhui "huangzhhui (4 commits)")[![zeng444](https://avatars.githubusercontent.com/u/941266?v=4)](https://github.com/zeng444 "zeng444 (4 commits)")[![limingxinleo](https://avatars.githubusercontent.com/u/16648551?v=4)](https://github.com/limingxinleo "limingxinleo (1 commits)")[![rlgy](https://avatars.githubusercontent.com/u/16437400?v=4)](https://github.com/rlgy "rlgy (1 commits)")[![stelin](https://avatars.githubusercontent.com/u/1677543?v=4)](https://github.com/stelin "stelin (1 commits)")

---

Tags

phpjwtauthaclswooleswoftauth manager

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/janfish-swoft-auth/health.svg)

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

###  Alternatives

[swoft/auth

Auth component for swoft

127.2k1](/packages/swoft-auth)[swoft/swoft

Modern High performance AOP and Coroutine PHP Framework

5.5k34.5k](/packages/swoft-swoft)[ellaisys/aws-cognito

AWS Cognito package that allows Auth and other related features using the AWS SDK for PHP

120220.7k1](/packages/ellaisys-aws-cognito)[hyperf-ext/jwt

The Hyperf JWT package.

53134.9k2](/packages/hyperf-ext-jwt)[kinde-oss/kinde-auth-php

Kinde PHP SDK for authentication

2369.5k3](/packages/kinde-oss-kinde-auth-php)[maicol07/flarum-ext-sso

SSO for Flarum

468.3k](/packages/maicol07-flarum-ext-sso)

PHPackages © 2026

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