PHPackages                             spiral/encrypter - 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. spiral/encrypter

ActiveLibrary[Security](/categories/security)

spiral/encrypter
================

Encrypter Component

3.16.1(2mo ago)235.2k↓32.6%2MITPHPPHP &gt;=8.1CI failing

Since Aug 25Pushed 2mo ago4 watchersCompare

[ Source](https://github.com/spiral/encrypter)[ Packagist](https://packagist.org/packages/spiral/encrypter)[ Docs](https://spiral.dev)[ GitHub Sponsors](https://github.com/sponsors/spiral)[ RSS](/packages/spiral-encrypter/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (8)Dependencies (4)Versions (93)Used By (2)

Spiral: Encryption Component
============================

[](#spiral-encryption-component)

[![PHP Version Require](https://camo.githubusercontent.com/ebaeae02f8723d9329d06af0a4cb7e499999ab462495d4d5f4012871af6abc69/68747470733a2f2f706f7365722e707567782e6f72672f73706972616c2f656e637279707465722f726571756972652f706870)](https://packagist.org/packages/spiral/encrypter)[![Latest Stable Version](https://camo.githubusercontent.com/35efdc8e98ef694f0c3305348da4760e9e38b72fbe7be3f099e299a2d34176ee/68747470733a2f2f706f7365722e707567782e6f72672f73706972616c2f656e637279707465722f762f737461626c65)](https://packagist.org/packages/spiral/encrypter)[![phpunit](https://github.com/spiral/encrypter/actions/workflows/phpunit.yml/badge.svg)](https://github.com/spiral/encrypter/actions)[![psalm](https://github.com/spiral/encrypter/actions/workflows/psalm.yml/badge.svg)](https://github.com/spiral/encrypter/actions)[![Codecov](https://camo.githubusercontent.com/7943b9152e1ba10b730baab9b3d67b878865210013a65d79e137649978a1af79/68747470733a2f2f636f6465636f762e696f2f67682f73706972616c2f656e637279707465722f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/spiral/encrypter/)[![Total Downloads](https://camo.githubusercontent.com/478b123f85cd17d97e70dd0ac18b5b7fef17cd049711d309cbc772cfce0a8578/68747470733a2f2f706f7365722e707567782e6f72672f73706972616c2f656e637279707465722f646f776e6c6f616473)](https://packagist.org/packages/spiral/encrypter)[![](https://camo.githubusercontent.com/4442b73a11753b80fdd7b442ddbfaf8383902c8b9ffa66ed1718e8c62e102f2e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646973636f72642d636861742d6d6167656e74612e737667)](https://discord.gg/8bZsjYhVVk)

**[Documentation](https://spiral.dev/docs/security-encrypter)** | [Framework Bundle](https://github.com/spiral/framework)

License:
--------

[](#license)

MIT License (MIT). Please see [`LICENSE`](./LICENSE) for more information. Maintained by [Spiral Scout](https://spiralscout.com).

###  Health Score

59

—

FairBetter than 99% of packages

Maintenance83

Actively maintained with recent releases

Popularity30

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity87

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 84.2% 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 ~30 days

Recently: every ~82 days

Total

91

Last Release

84d ago

Major Versions

v1.2.0 → v2.6.02020-09-17

2.14.1 → 3.0.02022-09-13

PHP version history (5 changes)v1.0.0PHP ^7.1

v1.2.0PHP ^7.2

2.7.0PHP &gt;=7.2

2.10.0PHP &gt;=7.4

3.0.0PHP &gt;=8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/796136?v=4)[Anton Tsitou](/maintainers/wolfy-j)[@wolfy-j](https://github.com/wolfy-j)

---

Top Contributors

[![spiralbot](https://avatars.githubusercontent.com/u/100867204?v=4)](https://github.com/spiralbot "spiralbot (117 commits)")[![SerafimArts](https://avatars.githubusercontent.com/u/2461257?v=4)](https://github.com/SerafimArts "SerafimArts (16 commits)")[![butschster](https://avatars.githubusercontent.com/u/773481?v=4)](https://github.com/butschster "butschster (3 commits)")[![roxblnfk](https://avatars.githubusercontent.com/u/4152481?v=4)](https://github.com/roxblnfk "roxblnfk (2 commits)")[![samsonasik](https://avatars.githubusercontent.com/u/459648?v=4)](https://github.com/samsonasik "samsonasik (1 commits)")

---

Tags

defuseencrypterencryptionphp7rsa

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/spiral-encrypter/health.svg)

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

###  Alternatives

[paragonie/password_lock

Wraps Bcrypt-SHA2 in Authenticated Encryption

19348.7k1](/packages/paragonie-password-lock)[psecio/secure_dotenv

An encrypted environment configuration handler

11537.7k2](/packages/psecio-secure-dotenv)[thomaswelton/laravel-mcrypt-faker

Allows installation of Laravel where the PHP Mcrypt extension is not available. Provides encryption using OpenSSL, or by disabling encryption entierly.

113.8k](/packages/thomaswelton-laravel-mcrypt-faker)

PHPackages © 2026

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