PHPackages                             def/cipher - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. def/cipher

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

def/cipher
==========

Caesar cipher and others

071PHP

Since Aug 29Pushed 9y ago1 watchersCompare

[ Source](https://github.com/andrew-kamenchuk/def-cipher)[ Packagist](https://packagist.org/packages/def/cipher)[ RSS](/packages/def-cipher/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

def-cipher
==========

[](#def-cipher)

[![Build Status](https://camo.githubusercontent.com/00a22fa5c3ace345c4bf61d8dffe5dade72810b825c54e8619802a5a8250b725/68747470733a2f2f7472617669732d63692e6f72672f616e647265772d6b616d656e6368756b2f6465662d6369706865722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/andrew-kamenchuk/def-cipher)[![Latest Stable Vesrion](https://camo.githubusercontent.com/1d8956d7343feeb287351ba82cfbe3c073d964c683cf22ffd0517c72b501489c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6465662f6369706865722e737667)](https://packagist.org/packages/def/cipher)

```
use def\Cipher\CaesarCipher;
use def\Cipher\Alphabet\EnglishAlphabet;

$rot13 = new CaesarCipher(new EnglishAlphabet, 13);

print $rot13->encode("Hello, world\n");
```

or

```
use def\Cipher\VigenereCipher;
use def\Cipher\Alphabet\EnglishAlphabet;

$cipher = new VigenereCipher(new EnglishAlphabet, "keyword");

print $cipher->encode("Hello, world\n");
```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/ce3c22bfbd842417cbcc5765e73b63782b13c867aadafa6627439954cdaf5398?d=identicon)[andrew-kamenchuk](/maintainers/andrew-kamenchuk)

---

Top Contributors

[![andrew-kamenchuk](https://avatars.githubusercontent.com/u/6658834?v=4)](https://github.com/andrew-kamenchuk "andrew-kamenchuk (27 commits)")

### Embed Badge

![Health badge](/badges/def-cipher/health.svg)

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

PHPackages © 2026

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