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

ActiveLibrary[Security](/categories/security)

arispati/crypto-aes
===================

AES crypto library which can be used in php and javascript

v0.1.2(5y ago)1273MITPHPPHP &gt;=7

Since Aug 7Pushed 5y ago1 watchersCompare

[ Source](https://github.com/arispati/CryptoAES)[ Packagist](https://packagist.org/packages/arispati/crypto-aes)[ Docs](https://github.com/arispati/CryptoAES)[ RSS](/packages/arispati-crypto-aes/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (3)DependenciesVersions (5)Used By (0)

CryptoAES
=========

[](#cryptoaes)

AES crypto library which can be used in php and javascript (PHP Version).

If you want to use this library in javascript use the [CryptoAESJS](https://github.com/arispati/CryptoAESJS).

How to Install
--------------

[](#how-to-install)

- Install with composer

```
composer require arispati/crypto-aes
```

How to Use
----------

[](#how-to-use)

```
use Arispati\CryptoAES\CryptoAES;

// Set the secret key
$secretKey = 's3cr3tK3y'; // default secret key

// Initilize CryptoAES Class
$crypto = new CryptoAES($secretKey);

// Encrypt
$encrypted = $crypto->encrypt('Hello World');
// {"ct":"7aV+gq6hm69IO1\/pyjPliQ==","iv":"ece63be3d70d2e275396e3b82a43f425","s":"655cc08d5bcfd469"}

// Decrypt
$decrypted = $crypto->decrypt($encrypted);
// "Hello World"
```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

Every ~1 days

Total

3

Last Release

2144d ago

### Community

Maintainers

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

---

Top Contributors

[![arispati](https://avatars.githubusercontent.com/u/13604647?v=4)](https://github.com/arispati "arispati (2 commits)")

---

Tags

aes-crypto-librarycryptoaeshacktoberfestphpcryptoaes

### Embed Badge

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

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

###  Alternatives

[phpseclib/phpseclib

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

5.6k455.2M1.5k](/packages/phpseclib-phpseclib)[defuse/php-encryption

Secure PHP Encryption Library

3.9k170.7M239](/packages/defuse-php-encryption)[spomky-labs/aes-key-wrap

AES Key Wrap for PHP.

5023.9M21](/packages/spomky-labs-aes-key-wrap)[poly-crypto/poly-crypto

High-level cryptographic functions that are interoperable between NodeJS and PHP 7.1+

128.1k1](/packages/poly-crypto-poly-crypto)

PHPackages © 2026

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