PHPackages                             themismin/laravel-sign - 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. [Security](/categories/security)
4. /
5. themismin/laravel-sign

ActiveLibrary[Security](/categories/security)

themismin/laravel-sign
======================

Laravel 接口加密扩展包

1.0.7(6y ago)1655[1 issues](https://github.com/themismin/laravel-sign/issues)MITPHP

Since Oct 9Pushed 2y ago1 watchersCompare

[ Source](https://github.com/themismin/laravel-sign)[ Packagist](https://packagist.org/packages/themismin/laravel-sign)[ RSS](/packages/themismin-laravel-sign/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (1)Versions (9)Used By (0)

laravel-sign
============

[](#laravel-sign)

Laravel sign 接口加密验证扩展包

### 安装

[](#安装)

```
composer require themismin/laravel-sign

php artisan vendor:publish --provider="ThemisMin\LaravelSign\ServiceProvider"
```

### 配置

[](#配置)

> laravel-sign.php 修改配置文件参数

### 加密方式

[](#加密方式)

1. 请求参数按key排序
2. 拼接所有请求参数 $k1 + $v1 + $k2 + $v2 + SIGN\_KEY
3. 对拼接对参数进行MD5加密，sign
4. 验证sign参数是否一致

```
$params = $request->except(['sign']);
ksort($params);
$str = ''
foreach($params as $k => $v) {
    // $v 为 array 递归拼接
    $str .= $k . $v;
}
$str .= SIGN_KEY
$sign = md5($str);

if ($sign === $request->get(sign)) {
    return true;
}
return false;
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community7

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 ~14 days

Recently: every ~24 days

Total

8

Last Release

2308d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8c800de9c17265b0c85ee3c8e2be6f196b2dfb0c0a5692f5d7ca9e8ee6064df2?d=identicon)[themismin](/maintainers/themismin)

---

Top Contributors

[![themismin](https://avatars.githubusercontent.com/u/5857863?v=4)](https://github.com/themismin "themismin (9 commits)")

### Embed Badge

![Health badge](/badges/themismin-laravel-sign/health.svg)

```
[![Health](https://phpackages.com/badges/themismin-laravel-sign/health.svg)](https://phpackages.com/packages/themismin-laravel-sign)
```

###  Alternatives

[defuse/php-encryption

Secure PHP Encryption Library

3.9k162.4M214](/packages/defuse-php-encryption)[roave/security-advisories

Prevents installation of composer packages with known security vulnerabilities: no API, simply require it

2.9k97.3M6.4k](/packages/roave-security-advisories)[mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

2.0k16.7M113](/packages/mews-purifier)[robrichards/xmlseclibs

A PHP library for XML Security

41278.1M118](/packages/robrichards-xmlseclibs)[bjeavons/zxcvbn-php

Realistic password strength estimation PHP library based on Zxcvbn JS

86917.5M63](/packages/bjeavons-zxcvbn-php)[enlightn/security-checker

A PHP dependency vulnerabilities scanner based on the Security Advisories Database.

33732.2M110](/packages/enlightn-security-checker)

PHPackages © 2026

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