PHPackages                             chareice/laravel-real-name-verification - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. chareice/laravel-real-name-verification

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

chareice/laravel-real-name-verification
=======================================

v0.1.2(4y ago)021PHPPHP &gt;=8.0

Since Sep 15Pushed 4y ago1 watchersCompare

[ Source](https://github.com/chareice/laravel-real-name-verification)[ Packagist](https://packagist.org/packages/chareice/laravel-real-name-verification)[ RSS](/packages/chareice-laravel-real-name-verification/feed)WikiDiscussions main Synced today

READMEChangelog (3)Dependencies (4)Versions (4)Used By (0)

Laravel Real Name Verification
==============================

[](#laravel-real-name-verification)

使用腾讯云的OCR接口对证照图片进行识别

安装方法：

```
composer require chareice/laravel-real-name-verification
```

个人实名认证
------

[](#个人实名认证)

对身份证图片进行OCR识别

```
class User extends Model implements RealNameVerifiableContract
{
    use RealNameVerifiable;

    // 传入 updateRealNameData 的参数为识别到的数据
    public function updateRealNameData(RealNameData $data)
    {
        ...
    }

    // 返回用户是否已经进行了实名认证
    public function realNameVerified(): bool
    {
        ...
    }
}

$user = User::first();

// 验证成功，调用 $user 的 updateRealNameData 方法
// 验证失败，抛出异常
$user->verify($frontImageURL);
```

或者直接调用

```
app(VerifyService::class)->verifyIDCard($frontImgURL, $backImgURL);
```

企业营业执照认证
--------

[](#企业营业执照认证)

对营业执照图片进行OCR识别

```
class Company extends Model implements BizLicenseVerifiableContract
{
    use BizLicenseVerifiable;

    public function updateBizLicenseData(BizLicenseData $data)
    {
        ...
    }

    public function bizLicenseVerified(): bool
    {
        ...
    }
}

$company = Company::first();

$company->verify($licenseImgURL);
```

或者直接调用

```
app(VerifyService::class)->verifyBizLicense($licenseImgURL);
```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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.

###  Release Activity

Cadence

Every ~2 days

Total

3

Last Release

1747d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1624785?v=4)[ChengLei Shao](/maintainers/chareice)[@chareice](https://github.com/chareice)

---

Top Contributors

[![chareice](https://avatars.githubusercontent.com/u/1624785?v=4)](https://github.com/chareice "chareice (8 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/chareice-laravel-real-name-verification/health.svg)

```
[![Health](https://phpackages.com/badges/chareice-laravel-real-name-verification/health.svg)](https://phpackages.com/packages/chareice-laravel-real-name-verification)
```

###  Alternatives

[backpack/crud

Quickly build admin interfaces using Laravel, Bootstrap and JavaScript.

3.4k3.7M223](/packages/backpack-crud)[unopim/unopim

UnoPim Laravel PIM

10.5k2.4k](/packages/unopim-unopim)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135224.7k7](/packages/statamic-rad-pack-runway)[ecotone/laravel

Ecotone for Laravel — CQRS, Event Sourcing, Sagas, Durable Workflows, and Outbox on top of Laravel Queue, via PHP attributes.

21318.6k3](/packages/ecotone-laravel)[carsdotcom/laravel-json-schema

Json Schema validation for Laravel projects

1043.3k6](/packages/carsdotcom-laravel-json-schema)[duncanmcclean/statamic-cargo

Comprehensive e-commerce addon for Statamic. Build bespoke e-commerce sites without the complexity.

3416.6k](/packages/duncanmcclean-statamic-cargo)

PHPackages © 2026

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