PHPackages                             yaoshanliang/ucenter - 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. yaoshanliang/ucenter

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

yaoshanliang/ucenter
====================

UCenter.

v2(9y ago)80327[1 issues](https://github.com/yaoshanliang/ucenter/issues)MITHTML

Since Apr 27Pushed 7y ago12 watchersCompare

[ Source](https://github.com/yaoshanliang/ucenter)[ Packagist](https://packagist.org/packages/yaoshanliang/ucenter)[ RSS](/packages/yaoshanliang-ucenter/feed)WikiDiscussions dev Synced 3w ago

READMEChangelogDependencies (15)Versions (2)Used By (0)

用户中心
====

[](#用户中心)

#### ——“统一身份认证服务”、“用户系统”、“权限系统”、“日志系统”、“文件系统”、“邮件服务”、“短信服务”

[](#统一身份认证服务用户系统权限系统日志系统文件系统邮件服务短信服务)

*地址: *

- 用户名：admin 密码：123456

*开放平台: *

- [Laravel](http://laravel.com)
- [Bootstrap](http://getbootstrap.com)
- [Redis](http://redis.io)
- [DataTables](http://datatables.net)
- [phpsms](https://github.com/yaoshanliang/phpsms)
- [dingo/api](https://github.com/dingo/api)

安装配置
----

[](#安装配置)

1、下载源码

```
git clone https://github.com/yaoshanliang/ucenter.git

```

或者

```
composer require yaoshanliang/ucenter

```

2、一些权限

```
chmod -R 777 storage
chmod -R 777 bootstrap/cache

```

3、安装依赖

```
composer install

```

4、配置

```
cp .env.example .env

```

修改为自己的配置

5、执行数据库迁移

```
php artisan migrate

```

6、导入数据

```
php artisan db:seed

```

7、cache写入

访问/api/sys/cache

8、登录

用户名：admin 密码：123456

Q&amp;A
-------

[](#qa)

#### 1、开发者开发的流程？

[](#1开发者开发的流程)

- （1）创建应用
- （2）调用API进行开发
- （3）用户分配
- （4）权限分配
- （5）应用上线

#### 2、应用中的用户怎么来？

[](#2应用中的用户怎么来)

- 自行注册，申请某个应用的访问权限，待应用管理员允许后方可登陆访问；
- 应用管理员从用户库中选择可以访问的用户，用户库中不存在时可添加(导入)用户；

#### 3、应用中的用户权限怎么管理？

[](#3应用中的用户权限怎么管理)

- 应用管理员在用户中心的后台管理中选择可访问的用户，分配相应的角色。

#### 4、一个用户可以多个角色吗？

[](#4一个用户可以多个角色吗)

- 可以。可以在应用中进行角色的切换，应用管理员需设置用户的默认角色；如：应用开发者也是应用管理员的角色。

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~95 days

Total

2

Last Release

3621d ago

### Community

Maintainers

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

---

Top Contributors

[![yaoshanliang](https://avatars.githubusercontent.com/u/5028569?v=4)](https://github.com/yaoshanliang "yaoshanliang (843 commits)")

---

Tags

laravelphpucenterlaravelucenter

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/yaoshanliang-ucenter/health.svg)

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

###  Alternatives

[unopim/unopim

UnoPim Laravel PIM

10.5k2.2k](/packages/unopim-unopim)[bagisto/bagisto

Bagisto Laravel E-Commerce

27.4k169.0k9](/packages/bagisto-bagisto)[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

23.8k69.4k](/packages/grumpydictator-firefly-iii)[jeremy379/laravel-openid-connect

OpenID Connect support to the PHP League's OAuth2 Server. Compatible with Laravel Passport.

59403.6k8](/packages/jeremy379-laravel-openid-connect)[aurorawebsoftware/aauth

Laravel Aauth

411.9k1](/packages/aurorawebsoftware-aauth)

PHPackages © 2026

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