PHPackages                             ronakiihglobal/stringcrypto - 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. ronakiihglobal/stringcrypto

ActiveLibrary[Security](/categories/security)

ronakiihglobal/stringcrypto
===========================

encrypt decrypt id/string with ease

v1.0.1(5y ago)011MITPHP

Since May 22Pushed 5y ago1 watchersCompare

[ Source](https://github.com/ronakiihglobal/stringcrypto)[ Packagist](https://packagist.org/packages/ronakiihglobal/stringcrypto)[ RSS](/packages/ronakiihglobal-stringcrypto/feed)WikiDiscussions master Synced 3w ago

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

About StringCrypto
------------------

[](#about-stringcrypto)

This is simple package for encrypt/decrypt small strings like database IDs with ease. It is based on openssl\_encrypt.

The encrypt method used is `AES-256-CBC`.

Usage
-----

[](#usage)

`composer require ronakiihglobal/stringcrypto`

then

`require_once __DIR__ . '/vendor/autoload.php';`

`use ronakiihglobal\stringcrypto\Crypto;`

`$crypto = new Crypto("testkey","testIv");` these values should be random string of length 16 and should be managed as secret in env variables.

`$encrypted = $crypto::encrypt("123");` this value should be string.

`$decrypted = $crypto::decrypt($encrypted);`

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

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

Every ~0 days

Total

2

Last Release

1867d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/48983904?v=4)[Ronak Patel](/maintainers/ronakiihglobal)[@ronakiihglobal](https://github.com/ronakiihglobal)

---

Top Contributors

[![ronakiihglobal](https://avatars.githubusercontent.com/u/48983904?v=4)](https://github.com/ronakiihglobal "ronakiihglobal (19 commits)")

### Embed Badge

![Health badge](/badges/ronakiihglobal-stringcrypto/health.svg)

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

###  Alternatives

[mews/purifier

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

2.0k18.7M143](/packages/mews-purifier)[paragonie/ecc

PHP Elliptic Curve Cryptography library

24820.0k37](/packages/paragonie-ecc)

PHPackages © 2026

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