PHPackages                             zhuyanxun/aes - 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. zhuyanxun/aes

ActiveLibrary[Security](/categories/security)

zhuyanxun/aes
=============

aes加密类，加密后的字符串没有\_-+等特殊符号，只有数字和字母

v1.2(5y ago)92272PHP

Since Oct 19Pushed 5y ago1 watchersCompare

[ Source](https://github.com/zhuyanxun/aes)[ Packagist](https://packagist.org/packages/zhuyanxun/aes)[ RSS](/packages/zhuyanxun-aes/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

php版Aes加密字符串
============

[](#php版aes加密字符串)

php版Aes加密字符串，加密后无特殊符号，只有数字和字母

### 如何安装

[](#如何安装)

```
composer require zhuyanxun/aes

```

### 如何使用

[](#如何使用)

```
$aes_key = "J0^P^)0-ZriSt93g";
$aes_iv  = "B8jNhk5J49(@mM++";
$method  = "AES-128-CBC";
$aes = new Aes($aes_key,$aes_iv,$method);

//默认字符串
$strings = "hello world!";

//加密
$result1 = $aes->encrypt($strings);

//解密
$result2 = $aes->decrypt($result1);

print_r(array(
    'default' => $strings,
    'encrypt' => $result1,
    'decrypt' => $result2,
));

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity53

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

Unknown

Total

1

Last Release

2028d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

aesbase62x

### Embed Badge

![Health badge](/badges/zhuyanxun-aes/health.svg)

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

###  Alternatives

[phpseclib/phpseclib

PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SFTP, X.509 etc.

5.6k434.8M1.3k](/packages/phpseclib-phpseclib)[defuse/php-encryption

Secure PHP Encryption Library

3.9k162.4M212](/packages/defuse-php-encryption)[spomky-labs/aes-key-wrap

AES Key Wrap for PHP.

5022.7M14](/packages/spomky-labs-aes-key-wrap)[spomky-labs/php-aes-gcm

AES GCM (Galois Counter Mode) PHP implementation.

724.9M20](/packages/spomky-labs-php-aes-gcm)[nzo/url-encryptor-bundle

The NzoUrlEncryptorBundle is a Symfony Bundle used to Encrypt and Decrypt data and variables in the Web application or passed through URL

961.0M2](/packages/nzo-url-encryptor-bundle)[mmeyer2k/dcrypt

A petite library of encryption functionality for PHP

98727.2k1](/packages/mmeyer2k-dcrypt)

PHPackages © 2026

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