PHPackages                             sop/crypto-encoding - 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. sop/crypto-encoding

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

sop/crypto-encoding
===================

A PHP implementation of textual encodings of cryptographic structures.

0.3.0(6y ago)161.4M↓22.5%6[1 PRs](https://github.com/sop/crypto-encoding/pulls)20MITPHPPHP &gt;=7.2

Since Jul 13Pushed 3y ago1 watchersCompare

[ Source](https://github.com/sop/crypto-encoding)[ Packagist](https://packagist.org/packages/sop/crypto-encoding)[ Docs](https://github.com/sop/crypto-encoding)[ RSS](/packages/sop-crypto-encoding/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (5)Used By (20)

CryptoEncoding
==============

[](#cryptoencoding)

[![Build Status](https://camo.githubusercontent.com/7141f52f043283de421c696a644589e8bfe7772bfab60bbd17a1b4272d1f4a6c/68747470733a2f2f7472617669732d63692e6f72672f736f702f63727970746f2d656e636f64696e672e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/sop/crypto-encoding)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/3f07da66946288ee722e15c42a2ab2a8bbc62f0b542516418cf4ecca14f9f43a/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f736f702f63727970746f2d656e636f64696e672f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/sop/crypto-encoding/?branch=master)[![Coverage Status](https://camo.githubusercontent.com/d6d8caff9aee8d521065b04d24cc875c1fa9c13871cd70dc6b025bf9997b371e/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f736f702f63727970746f2d656e636f64696e672f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/sop/crypto-encoding?branch=master)[![License](https://camo.githubusercontent.com/eca4e0b8bce5fc606497c9d11fa3f6b5643980df0ee5ee1b3acc71282a3a49f3/68747470733a2f2f706f7365722e707567782e6f72672f736f702f63727970746f2d656e636f64696e672f6c6963656e7365)](https://github.com/sop/crypto-encoding/blob/master/LICENSE)

A PHP implementation of [RFC 7468](https://tools.ietf.org/html/rfc7468)textual encodings of cryptographic structures *(PEM)*.

Requirements
------------

[](#requirements)

- PHP &gt;=7.2

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

[](#installation)

This library is available on [Packagist](https://packagist.org/packages/sop/crypto-encoding).

```
composer require sop/crypto-encoding

```

License
-------

[](#license)

This project is licensed under the MIT License.

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity49

Moderate usage in the ecosystem

Community22

Small or concentrated contributor base

Maturity51

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 ~339 days

Total

3

Last Release

2553d ago

PHP version history (3 changes)0.1.0PHP &gt;=5.6.3

0.2.0PHP &gt;=7.0

0.3.0PHP &gt;=7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/35cf70dd6be68d37fd42490e3ad9c199d2a1f1dd4420f71658998b7d8b694e97?d=identicon)[sop](/maintainers/sop)

---

Top Contributors

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

---

Tags

certificatepemprivate-keypublic-keyPrivate Keypublic keycertificatepem

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sop-crypto-encoding/health.svg)

```
[![Health](https://phpackages.com/badges/sop-crypto-encoding/health.svg)](https://phpackages.com/packages/sop-crypto-encoding)
```

###  Alternatives

[composer/ca-bundle

Lets you find a path to the system CA bundle, and includes a fallback to the Mozilla CA bundle.

3.0k346.2M191](/packages/composer-ca-bundle)[kelunik/certificate

Access certificate details and transform between different formats.

11038.3M8](/packages/kelunik-certificate)[spomky-labs/pki-framework

A PHP framework for managing Public Key Infrastructures. It comprises X.509 public key certificates, attribute certificates, certification requests and certification path validation.

2725.9M11](/packages/spomky-labs-pki-framework)[sop/crypto-types

A PHP library of various ASN.1 types for cryptographic applications.

111.4M33](/packages/sop-crypto-types)[vlucas/pikirasa

PKI public/private RSA key encryption using the OpenSSL extension

104101.1k1](/packages/vlucas-pikirasa)[pagemachine/authorized-keys

Read, edit and write the SSH authorized\_keys file

1163.1k](/packages/pagemachine-authorized-keys)

PHPackages © 2026

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