PHPackages                             mudhairless/openpgp - 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. mudhairless/openpgp

AbandonedArchivedLibrary[Security](/categories/security)

mudhairless/openpgp
===================

Implementation of OpenPGP for PHP

1.0.0(11y ago)111131[2 issues](https://github.com/mudhairless/openpgp/issues)CC0-1.0PHPPHP &gt;=5.0.0

Since May 22Pushed 9y ago1 watchersCompare

[ Source](https://github.com/mudhairless/openpgp)[ Packagist](https://packagist.org/packages/mudhairless/openpgp)[ RSS](/packages/mudhairless-openpgp/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (2)Versions (3)Used By (0)

!! WARNING! THIS CODE IS NOT MAINTAINED AND IS KNOWN TO HAVE ISSUES. !!
=======================================================================

[](#-warning-this-code-is-not-maintained-and-is-known-to-have-issues-)

I am leaving the code available so that someone who had the inclination can fork and fix it. In my limited testing encryption works but I cannot get the reference tools to verify generated signatures and vice versa.

\##Implementation of OpenPGP for PHP

Based on the work done at: The only changes from this project were to update to latest PSR standards.

### About OpenPGP

[](#about-openpgp)

OpenPGP is the most widely-used e-mail encryption standard in the world. It is defined by the OpenPGP Working Group of the Internet Engineering Task Force (IETF) Proposed Standard RFC 4880. The OpenPGP standard was originally derived from PGP (Pretty Good Privacy), first created by Phil Zimmermann in 1991.

-
-

Features
--------

[](#features)

- Encodes and decodes ASCII-armored OpenPGP messages.
- Parses OpenPGP messages into their constituent packets.
    - Supports both old-format (PGP 2.6.x) and new-format (RFC 4880) packets.
- Helper class for verifying and signing messages using Crypt\_RSA from

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity59

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

2

Last Release

4374d ago

### Community

Maintainers

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

---

Top Contributors

[![mudhairless](https://avatars.githubusercontent.com/u/1571786?v=4)](https://github.com/mudhairless "mudhairless (13 commits)")

---

Tags

securitycryptographyencryptioncryptosignaturesigningPGPopenpgpgnupgkey pair

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mudhairless-openpgp/health.svg)

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

###  Alternatives

[phpseclib/phpseclib

PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SFTP, X.509 etc.

5.6k434.8M1.3k](/packages/phpseclib-phpseclib)[defuse/php-encryption

Secure PHP Encryption Library

3.9k162.4M214](/packages/defuse-php-encryption)[ionux/phactor

Phactor is a high-performance PHP implementation of the elliptic curve math functions required to generate &amp; verify private/public (asymmetric) EC keypairs and ECDSA signatures based on secp256k1 curve parameters. This library also includes a class to generate Service Identification Numbers (SINs) based on the published Identity Protocol v1 spec.

5275.0k30](/packages/ionux-phactor)

PHPackages © 2026

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