PHPackages                             wespals/cryptli - 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. [CLI &amp; Console](/categories/cli)
4. /
5. wespals/cryptli

ActiveLibrary[CLI &amp; Console](/categories/cli)

wespals/cryptli
===============

A Symfony CLI utility for Defuse encryption

v1.0.0(3y ago)13MITPHPPHP &gt;=7.1

Since Jun 1Pushed 3y ago1 watchersCompare

[ Source](https://github.com/wespals/cryptli)[ Packagist](https://packagist.org/packages/wespals/cryptli)[ RSS](/packages/wespals-cryptli/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

Cryptli
=======

[](#cryptli)

A Symfony CLI utility for the Defuse encryption library

### Installation

[](#installation)

```
composer require wespals/cryptli
```

### View commands

[](#view-commands)

```
php vendor/bin/cryptli list
```

### Examples:

[](#examples)

#### Generates a new random key and returns the ASCII safe key string

[](#generates-a-new-random-key-and-returns-the-ascii-safe-key-string)

```
user@host:~$ php vendor/bin/cryptli cryptli:create-key
def0000072424335658f3a1e80c61857a7ccb868853e3077ed706d52b928ce6b39b2aba82ec3ff6dded87580e3d78016bd556617314cd1c957c02038ac27d8730afd2a5f
```

##### Encrypts a plaintext string using a secret key and returns the ciphertext

[](#encrypts-a-plaintext-string-using-a-secret-key-and-returns-the-ciphertext)

```
user@host:~$ php vendor/bin/cryptli cryptli:encrypt 'mySecretP@$$w0rd'
def50200b5686661d66993842bfb68fd450d02e4ef1f4a5fdfea387058c072fa31cc2f5cc6b6485c74c8f0a4e64741dcfcb55b73a10c1a5e3e61964b206c2cc7c650bf54f0649fee98d97519b3c28f9d644a7f763474e3d40a0787e0a96f0889242018f4
```

#### Decrypts a ciphertext string using a secret key

[](#decrypts-a-ciphertext-string-using-a-secret-key)

```
user@host:~$ php vendor/bin/cryptli cryptli:decrypt
mySecretP@$$w0rd
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

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

1447d ago

### Community

Maintainers

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

---

Top Contributors

[![wespals](https://avatars.githubusercontent.com/u/2712516?v=4)](https://github.com/wespals "wespals (1 commits)")

---

Tags

clisymfonyencryptionDefusedecryption

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/wespals-cryptli/health.svg)

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

###  Alternatives

[nunomaduro/collision

Cli error handling for console/command-line PHP applications.

4.6k331.8M8.5k](/packages/nunomaduro-collision)[acmephp/acmephp

Let's Encrypt client written in PHP

649155.1k](/packages/acmephp-acmephp)[fidry/console

Library to create CLI applications

192.0M4](/packages/fidry-console)[mahocommerce/maho

Free and open source ecommerce platform, created in 2024 on the M1 platform, PHP 8.3+

1322.1k12](/packages/mahocommerce-maho)[duncan3dc/console

Create command line php applications using symfony/console

17263.4k2](/packages/duncan3dc-console)[eddiriarte/console-select

A fancy selection interface for symfony's console component.

117.2k2](/packages/eddiriarte-console-select)

PHPackages © 2026

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