PHPackages                             jncinet/qihucms-qualification - 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. jncinet/qihucms-qualification

ActiveLibrary

jncinet/qihucms-qualification
=============================

qihucms user qualification.

1.0.1(5y ago)013MITPHP

Since Dec 30Pushed 5y ago1 watchersCompare

[ Source](https://github.com/jncinet/qihucms-qualification)[ Packagist](https://packagist.org/packages/jncinet/qihucms-qualification)[ Docs](https://www.qihucms.com)[ RSS](/packages/jncinet-qihucms-qualification/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

认证管理
====

[](#认证管理)

安装
--

[](#安装)

```
$ composer require jncinet/qihucms-qualification
```

使用
--

[](#使用)

### 数据迁移

[](#数据迁移)

```
$ php artisan migrate
```

### 发布资源

[](#发布资源)

```
$ php artisan vendor:publish --provider="Qihucms\Qualification\QualificationServiceProvider"
```

### 添加到会员模型

[](#添加到会员模型)

```
...
use Qihucms\Qualification\Models\HasQualification
...

class User extends Authenticatable
{
    use HasQualification;
    ...
}
```

后台菜单
----

[](#后台菜单)

- 个人认证 `qualification/pas`
- 企业认证 `qualification/cos`

接口
--

[](#接口)

### 个人认证

[](#个人认证)

- 请求方式：POST
- 请求地址：qualification/pas
- 请求参数：

```
{
    "real_name": "张三",
    "id_card_no": "4324324324",
    "files": ['图片地址1','图片地址2'],
}

```

- 返回值：

```
{
    "user_id": 1,
    "real_name": "张三",
    "id_card_no": "3424324234",
    "files": ['图片地址1','图片地址2'],
    "status": 1,
    "created_at": "2分钟前",
    "updated_at": "1分钟前",
}

```

### 个人认证查询

[](#个人认证查询)

- 请求方式：GET
- 请求地址：qualification/pas
- 返回值：

```
{
    "user_id": 1,
    "real_name": "张三",
    "id_card_no": "3424324234",
    "files": ['图片地址1','图片地址2'],
    "status": 1,
    "created_at": "2分钟前",
    "updated_at": "1分钟前",
}

```

### 企业认证

[](#企业认证)

- 请求方式：POST
- 请求地址：qualification/cos
- 请求参数：

```
{
    "company_name": "**公司",
    "company_id": "342432324234",
    "files": ['图片地址1','图片地址2'],
    "mobile": "手机号",
    "email": "邮箱",
    "address": "地址",
}

```

- 返回值：

```
{
    "user_id": 1,
    "company_name": "**公司",
    "company_id": "342432324234",
    "files": ['图片地址1','图片地址2'],
    "mobile": "手机号",
    "email": "邮箱",
    "address": "地址",
    "status": 1,
    "created_at": "2分钟前",
    "updated_at": "1分钟前",
}

```

### 企业认证查询

[](#企业认证查询)

- 请求方式：GET
- 请求地址：qualification/cos
- 返回值：

```
{
    "user_id": 1,
    "company_name": "**公司",
    "company_id": "342432324234",
    "files": ['图片地址1','图片地址2'],
    "mobile": "手机号",
    "email": "邮箱",
    "address": "地址",
    "status": 1,
    "created_at": "2分钟前",
    "updated_at": "1分钟前",
}

```

数据库
---

[](#数据库)

### 个人认证记录表：qualification\_pas

[](#个人认证记录表qualification_pas)

FieldTypeLengthAllowNullDefaultCommentidbigintuser\_idbigint会员IDreal\_namevarchar255真实姓名id\_card\_novarchar255身份证号filesjsonYNULL证明文件statustinyint0状态created\_attimestampYNULL创建时间updated\_attimestampYNULL更新时间### 企业认证记录表：qualification\_cos

[](#企业认证记录表qualification_cos)

FieldTypeLengthAllowNullDefaultCommentidbigintuser\_idbigint会员IDcompany\_namevarchar255公司名称company\_idvarchar255统一信用代码filesjsonYNULL证明文件contactsvarchar255联系人mobilevarchar255手机号emailvarchar255YNULL邮箱addressvarchar255YNULL地址statustinyint0状态created\_attimestampYNULL创建时间updated\_attimestampYNULL更新时间

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

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

Unknown

Total

1

Last Release

1956d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/63541651e21494722aa0d364dca6dbaa132d0ee4e9f85a741b5eff8c587f57ba?d=identicon)[jncinet](/maintainers/jncinet)

---

Tags

laravelqihucmsqualification

### Embed Badge

![Health badge](/badges/jncinet-qihucms-qualification/health.svg)

```
[![Health](https://phpackages.com/badges/jncinet-qihucms-qualification/health.svg)](https://phpackages.com/packages/jncinet-qihucms-qualification)
```

###  Alternatives

[rtconner/laravel-likeable

Trait for Laravel Eloquent models to allow easy implementation of a 'like' or 'favorite' or 'remember' feature.

394388.0k5](/packages/rtconner-laravel-likeable)

PHPackages © 2026

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