PHPackages                             marko/encryption-openssl - 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. marko/encryption-openssl

ActiveMarko-module[Security](/categories/security)

marko/encryption-openssl
========================

OpenSSL encryption driver for Marko Framework

0.7.0(3mo ago)078↓36.4%MITPHPPHP ^8.5

Since Mar 25Pushed 3w agoCompare

[ Source](https://github.com/marko-php/marko-encryption-openssl)[ Packagist](https://packagist.org/packages/marko/encryption-openssl)[ RSS](/packages/marko-encryption-openssl/feed)WikiDiscussions develop Synced 3w ago

READMEChangelogDependencies (20)Versions (18)Used By (0)

marko/encryption-openssl
========================

[](#markoencryption-openssl)

OpenSSL encryption driver --- encrypts and decrypts data using AES-256-GCM with authenticated encryption.

Installation
------------

[](#installation)

```
composer require marko/encryption-openssl
```

Requires the `ext-openssl` PHP extension. Automatically installs `marko/encryption`.

Quick Example
-------------

[](#quick-example)

```
use Marko\Encryption\Contracts\EncryptorInterface;

class SecureStorage
{
    public function __construct(
        private EncryptorInterface $encryptor,
    ) {}

    public function store(string $sensitiveData): string
    {
        return $this->encryptor->encrypt($sensitiveData);
    }

    public function retrieve(string $encrypted): string
    {
        return $this->encryptor->decrypt($encrypted);
    }
}
```

Documentation
-------------

[](#documentation)

Full usage, API reference, and examples: [marko/encryption-openssl](https://marko.build/docs/packages/encryption-openssl/)

###  Health Score

42

—

FairBetter than 89% of packages

Maintenance90

Actively maintained with recent releases

Popularity12

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity50

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

16

Last Release

91d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/437029?v=4)[Mark Shust](/maintainers/markshust)[@markshust](https://github.com/markshust)

---

Top Contributors

[![markshust](https://avatars.githubusercontent.com/u/437029?v=4)](https://github.com/markshust "markshust (6 commits)")

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/marko-encryption-openssl/health.svg)

```
[![Health](https://phpackages.com/badges/marko-encryption-openssl/health.svg)](https://phpackages.com/packages/marko-encryption-openssl)
```

PHPackages © 2026

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