PHPackages                             szzmzb/hasher - 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. szzmzb/hasher

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

szzmzb/hasher
=============

Laravel framework haser

1.0(8y ago)013MITPHP

Since Aug 8Pushed 8y agoCompare

[ Source](https://github.com/kwanwong/laravel-package-demo)[ Packagist](https://packagist.org/packages/szzmzb/hasher)[ RSS](/packages/szzmzb-hasher/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (2)Used By (0)

### 开发Laravel扩展教程

[](#开发laravel扩展教程)

**用法**

```
composer require szzmzb/hasher

```

或者在`composer.json`的require部分添加

```
"szzmzb/hasher": "~1.0"

```

下载完毕之后，直接配置`app/config.php`的providers

```
\Szzmzb\Hasher\MD5HasherProvider::class,

```

**单元测试**

1. 修改composer.json，加入以下配置

```
"require-dev": {
    "phpunit/phpunit": "5.5.*"
}

```

2. 单元测试目录名称`tests`
3. 使用`setUp()`初始化测试类，作用相当于`__construct()`
4. 测试方法必须以`test`开头，例如`testXXX()`
5. 使用`vendor/bin/phpunit tests/testClassName`命令执行测试
6. 也可创建`phpunit.xml`文件，配置文件以后可直接运行`phpunit`执行测试

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community6

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

Unknown

Total

1

Last Release

3248d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/23bea04a0e90a47e9decf0737b5b20e18d12cb51351482a97c5e410b2944093f?d=identicon)[kopiteken](/maintainers/kopiteken)

---

Top Contributors

[![kwanwong](https://avatars.githubusercontent.com/u/22544353?v=4)](https://github.com/kwanwong "kwanwong (7 commits)")

### Embed Badge

![Health badge](/badges/szzmzb-hasher/health.svg)

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

###  Alternatives

[rmm5t/jquery-timeago

jQuery plugin that makes it easy to support automatically updating fuzzy timestamps (e.g. "4 minutes ago" or "about 1 day ago").

3.8k179.9k2](/packages/rmm5t-jquery-timeago)[dg/composer-backslasher

Composer plugin that speeds up your application by adding backslashes to all PHP internal functions and constants.

4117.8k](/packages/dg-composer-backslasher)

PHPackages © 2026

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