PHPackages                             capile/pgp - 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. capile/pgp

ActiveLibrary[Security](/categories/security)

capile/pgp
==========

GPG for encryption and signing

1.0.5(4y ago)0442[1 issues](https://github.com/capile/pgp/issues)GPL-3.0-onlyPHPPHP &gt;=7.2

Since Mar 7Pushed 4y ago2 watchersCompare

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

READMEChangelogDependencies (1)Versions (8)Used By (0)

PGP (Gnupg) for PHP
===================

[](#pgp-gnupg-for-php)

This package replaces PECL php-gnupg package by providing the same funcionality and extending support for GPG 2.

Some methods are still under development, more specifically the ones related to key/message signing and verification.

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

[](#installation)

Installation should be done via composer.

Testing
-------

[](#testing)

If you'd like to test your instance, use composer to install the require-dev packages and run:

```
composer test

```

It can also be linked to a static installation of gnupg, in case your OS is using an outdated version without support for new features, like Elliptic curves. For these tests you can load a default configuration by copying the file `test-configuration-pgp.json-example` to `test-configuration-pgp.json` and adjusting your configuration parameters.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity56

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

Recently: every ~115 days

Total

7

Last Release

1797d ago

Major Versions

0.1.0 → 1.0.02020-03-10

### Community

Maintainers

![](https://www.gravatar.com/avatar/205246df2ff648cab095133e251c68a9c08b7644bd8d21f6694d4c8abf9cfac1?d=identicon)[capile](/maintainers/capile)

---

Top Contributors

[![capile](https://avatars.githubusercontent.com/u/3648974?v=4)](https://github.com/capile "capile (12 commits)")

###  Code Quality

TestsCodeception

### Embed Badge

![Health badge](/badges/capile-pgp/health.svg)

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

###  Alternatives

[defuse/php-encryption

Secure PHP Encryption Library

3.9k162.4M214](/packages/defuse-php-encryption)[mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

2.0k16.7M113](/packages/mews-purifier)[robrichards/xmlseclibs

A PHP library for XML Security

41478.1M118](/packages/robrichards-xmlseclibs)[bjeavons/zxcvbn-php

Realistic password strength estimation PHP library based on Zxcvbn JS

87117.5M63](/packages/bjeavons-zxcvbn-php)[illuminate/encryption

The Illuminate Encryption package.

9229.7M280](/packages/illuminate-encryption)[paragonie/hidden-string

Encapsulate strings in an object to hide them from stack traces

7410.6M39](/packages/paragonie-hidden-string)

PHPackages © 2026

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