PHPackages                             zerozh/taketwouser - 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. zerozh/taketwouser

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

zerozh/taketwouser
==================

Take 2 Tables User Authorization

036PHP

Since Apr 18Pushed 11y agoCompare

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

READMEChangelogDependenciesVersions (2)Used By (0)

Laravel 5 多表用户支持
================

[](#laravel-5-多表用户支持)

Laravel 自带的用户模块使用一个表保存用户信息，拓展性不足。本模块使用用户信息表和用户授权表共同组成， 可以方便地拓展各种登录/注册类型，手机、用户名或者是新浪微博等第三方登录。

本模块基于 Laravel 5 Service Provider。

安装
--

[](#安装)

- composer 中添加 `zerozh/taketwouser` `dev-master` 分支并 update
- 添加 `Taketwo\Providers\AuthServiceProvider` 到 config/app.providers 中
- 修改 config/auth.driver 为 `taketwo`

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/17cd7f68d6a4e24be66f566b4b7f78e8d41606684947cfd313ce7af0861d6803?d=identicon)[zerozh](/maintainers/zerozh)

---

Top Contributors

[![zerozh](https://avatars.githubusercontent.com/u/2779198?v=4)](https://github.com/zerozh "zerozh (19 commits)")

### Embed Badge

![Health badge](/badges/zerozh-taketwouser/health.svg)

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

###  Alternatives

[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)[beatswitch/lock

A flexible, driver based Acl package for PHP 5.4+

870304.7k2](/packages/beatswitch-lock)[amocrm/amocrm-api-library

amoCRM API Client

182728.5k6](/packages/amocrm-amocrm-api-library)[vonage/jwt

A standalone package for creating JWTs for Vonage APIs

424.1M4](/packages/vonage-jwt)

PHPackages © 2026

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