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

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

rootpd/openpgp-php
==================

Pure-PHP implementation of the OpenPGP Message Format (RFC 4880). This fork exists only to have tagged v0.5 compatible with PHP 8.1.

0.5.2(3y ago)021.9k↓75%UnlicensePHPPHP ^5.6 || ^7.0 || ^8.0

Since Dec 27Pushed 3y agoCompare

[ Source](https://github.com/rootpd/openpgp-php)[ Packagist](https://packagist.org/packages/rootpd/openpgp-php)[ GitHub Sponsors](https://github.com/singpolyma)[ Fund](https://liberapay.com/singpolyma)[ RSS](/packages/rootpd-openpgp-php/feed)WikiDiscussions master Synced yesterday

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

[![Build Status](https://camo.githubusercontent.com/47b9fed229503dc106d6258e5095fe80a73c1e64f92f536b9f959c535865d087/68747470733a2f2f7472617669732d63692e6f72672f73696e67706f6c796d612f6f70656e7067702d7068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/singpolyma/openpgp-php)

OpenPGP.php: OpenPGP for PHP
============================

[](#openpgpphp-openpgp-for-php)

This is a pure-PHP implementation of the OpenPGP Message Format (RFC 4880).

-

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, signing, encrypting, and decrypting messages
- Helper class for encrypting and decrypting messages and keys using
    - openssl or mcrypt required for CAST5 encryption and decryption

Bugs, Feature Requests, Patches
-------------------------------

[](#bugs-feature-requests-patches)

This project is primarily maintained by a single volunteer with many other things vying for their attention, please be patient.

Bugs, feature request, pull requests, patches, and general discussion may be submitted publicly via email to:

Github users may alternately submit on the web there.

Users
-----

[](#users)

OpenPGP.php is currently being used in the following projects:

-
- [Passbolt API](https://github.com/passbolt/passbolt_api)

Download
--------

[](#download)

To get a local working copy of the development repository, do:

```
git clone https://github.com/singpolyma/openpgp-php.git

```

Alternatively, you can download the latest development version as a tarball as follows:

```
wget https://github.com/singpolyma/openpgp-php/tarball/master

```

Authors
-------

[](#authors)

- [Arto Bendiken](mailto:arto.bendiken@gmail.com) (Original author) -
- [Stephen Paul Weber](mailto:singpolyma@singpolyma.net) (Maintainer) -

License
-------

[](#license)

OpenPGP.php is free and unencumbered public domain software. For more information, see  or the accompanying UNLICENSE file.

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 81.7% 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 ~61 days

Total

2

Last Release

1222d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7c733f9bd683c3814197d8a532b7da1ba1f631bb1efe1cde5f064feab1e24877?d=identicon)[rootpd](/maintainers/rootpd)

---

Top Contributors

[![singpolyma](https://avatars.githubusercontent.com/u/12770?v=4)](https://github.com/singpolyma "singpolyma (187 commits)")[![vstm](https://avatars.githubusercontent.com/u/1871866?v=4)](https://github.com/vstm "vstm (7 commits)")[![Rotzbua](https://avatars.githubusercontent.com/u/7337347?v=4)](https://github.com/Rotzbua "Rotzbua (6 commits)")[![jstanden](https://avatars.githubusercontent.com/u/63288?v=4)](https://github.com/jstanden "jstanden (4 commits)")[![adecaneda](https://avatars.githubusercontent.com/u/7860942?v=4)](https://github.com/adecaneda "adecaneda (4 commits)")[![DanielRuf](https://avatars.githubusercontent.com/u/827205?v=4)](https://github.com/DanielRuf "DanielRuf (3 commits)")[![artob](https://avatars.githubusercontent.com/u/4963?v=4)](https://github.com/artob "artob (3 commits)")[![stripthis](https://avatars.githubusercontent.com/u/77410?v=4)](https://github.com/stripthis "stripthis (3 commits)")[![allan-simon](https://avatars.githubusercontent.com/u/213167?v=4)](https://github.com/allan-simon "allan-simon (2 commits)")[![ottoszika](https://avatars.githubusercontent.com/u/7945963?v=4)](https://github.com/ottoszika "ottoszika (2 commits)")[![fabacab](https://avatars.githubusercontent.com/u/18677?v=4)](https://github.com/fabacab "fabacab (2 commits)")[![divine](https://avatars.githubusercontent.com/u/48183131?v=4)](https://github.com/divine "divine (1 commits)")[![hoffstadt](https://avatars.githubusercontent.com/u/39973752?v=4)](https://github.com/hoffstadt "hoffstadt (1 commits)")[![jasekiw](https://avatars.githubusercontent.com/u/4037224?v=4)](https://github.com/jasekiw "jasekiw (1 commits)")[![Maikuolan](https://avatars.githubusercontent.com/u/12571108?v=4)](https://github.com/Maikuolan "Maikuolan (1 commits)")[![pabloelcolombiano](https://avatars.githubusercontent.com/u/23249541?v=4)](https://github.com/pabloelcolombiano "pabloelcolombiano (1 commits)")[![rootpd](https://avatars.githubusercontent.com/u/812909?v=4)](https://github.com/rootpd "rootpd (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)[phpseclib/mcrypt_compat

PHP 5.x-8.x polyfill for mcrypt extension

28131.4M43](/packages/phpseclib-mcrypt-compat)[akeneo/pim-community-dev

Akeneo PIM, the future of catalog management is open!

1.0k624.1k86](/packages/akeneo-pim-community-dev)[phpseclib/phpseclib2_compat

phpseclib 2.0 polyfill built with phpseclib 3.0

132.1M17](/packages/phpseclib-phpseclib2-compat)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)[shopware/app-php-sdk

Shopware App SDK for PHP

15109.8k3](/packages/shopware-app-php-sdk)

PHPackages © 2026

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