PHPackages                             shf/licheck - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. shf/licheck

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

shf/licheck
===========

License Check

1.1(2y ago)09MITPHPPHP &gt;=7.0.0

Since Aug 7Pushed 2y ago1 watchersCompare

[ Source](https://github.com/ccily2701/licheck)[ Packagist](https://packagist.org/packages/shf/licheck)[ RSS](/packages/shf-licheck/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

licheck
=======

[](#licheck)

\###许可证验证

- 1、到  测试帐号：demo 密码：demo *发邮件申请帐户()*
- 2、添加自己的项目 [![img.png](img.png)](img.png)
- 3、获取插件并发布插件

    ```
    composer require shf/licheck

    php artisan vendor:publish --provider="Shf\LiCheckServiceProvider"

    ```
- 5、.evn 里面添加项目名配置

    ```
    LI_PROJECT_NAME="demo.v2"

    ```
- 6、添加中间件 app/Http/Kernel.php 添加 LiCheck::class

    ```
    protected $middlewareGroups = [
          'web' => [
              \App\Http\Middleware\EncryptCookies::class,
              \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
              \Illuminate\Session\Middleware\StartSession::class,
              // \Illuminate\Session\Middleware\AuthenticateSession::class,
              \Illuminate\View\Middleware\ShareErrorsFromSession::class,
              \App\Http\Middleware\VerifyCsrfToken::class,
              \Illuminate\Routing\Middleware\SubstituteBindings::class,
              \Shf\Middleware\LiCheck::class

          ],

          'api' => [
              'throttle:60,1',
              'bindings',
          ],
      ];

    ```

    ### 结果

    [](#结果)

[![img_1.png](img_1.png)](img_1.png)

### 自定义错误（可选）

[](#自定义错误可选)

在app/Exceptions/LiCheckException.php路径下修改

```
 public function render()
{
   return $this->getMessage();
}

```

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

1060d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b9204f4da2f3f803275fa29ac5585cf30b02c28a627a1e68d222afc6b88cc417?d=identicon)[ccily2701](/maintainers/ccily2701)

---

Top Contributors

[![ccily2701](https://avatars.githubusercontent.com/u/48272295?v=4)](https://github.com/ccily2701 "ccily2701 (17 commits)")

### Embed Badge

![Health badge](/badges/shf-licheck/health.svg)

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

###  Alternatives

[markwalet/nova-modal-response

A Laravel Nova asset for Modal responses on an action.

17878.9k](/packages/markwalet-nova-modal-response)[team-nifty-gmbh/tall-datatables

Server-side rendered datatables for Laravel and Livewire

1320.9k4](/packages/team-nifty-gmbh-tall-datatables)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

119.4k](/packages/tomshaw-electricgrid)

PHPackages © 2026

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