PHPackages                             q1lon/encrypt - 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. q1lon/encrypt

ActiveLibrary[Security](/categories/security)

q1lon/encrypt
=============

hash加密.

02PHP

Since Sep 26Pushed 5y ago1 watchersCompare

[ Source](https://github.com/q1lon/encrypt)[ Packagist](https://packagist.org/packages/q1lon/encrypt)[ RSS](/packages/q1lon-encrypt/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

encrypt
=======

[](#encrypt)

### 安装

[](#安装)

```
composer require q1lon/encrypt -vvv

```

### 使用方法

[](#使用方法)

1 添加配置文件

> php artisan vendor:publish --provider="Q1lon\\Encrypt\\Md5HasherProvider" // --provider 参数指定了要发布的服务

2 直接使用 app函数

> echo app('md5hash')-&gt;make(123);

3 实例化对象

> $Md5Hasher = new \\Q1lon\\Encrypt\\Md5Hasher();
> echo $Md5Hasher-&gt;make(123);

4 实例化对象并添加配置文件

> $Md5Hasher = new \\Q1lon\\Encrypt\\Md5Hasher(app('config'));
> echo $Md5Hasher-&gt;make(123);

### 配置参数

[](#配置参数)

```
'options' => [
        'salt' => ''//加密盐
    ]

```

###  Health Score

16

—

LowBetter than 4% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/9638312?v=4)[起零](/maintainers/q1lon)[@q1lon](https://github.com/q1lon)

---

Tags

hashlaravel

### Embed Badge

![Health badge](/badges/q1lon-encrypt/health.svg)

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

###  Alternatives

[phpids/phpids

PHPIDS (PHP-Intrusion Detection System) is a simple to use, well structured, fast and state-of-the-art security layer for your PHP based web application

791150.0k2](/packages/phpids-phpids)[paragonie/ecc

PHP Elliptic Curve Cryptography library

25866.3k44](/packages/paragonie-ecc)[nicobleiler/php-passphrase

Passphrase generator with Laravel integration, inspired by Bitwarden. Uses the EFF long word list by default with support for custom wordlists.

4912.6k](/packages/nicobleiler-php-passphrase)[dwgebler/encryption

Encryption wrapper for PHP using libsodium — simple API for symmetric and asymmetric encryption, password hashing, digital signing, and message authentication.

317.5k](/packages/dwgebler-encryption)

PHPackages © 2026

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