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(5y ago)0506[1 issues](https://github.com/capile/pgp/issues)GPL-3.0-onlyPHPPHP &gt;=7.2

Since Mar 7Pushed 5y ago2 watchersCompare

[ Source](https://github.com/capile/pgp)[ Packagist](https://packagist.org/packages/capile/pgp)[ RSS](/packages/capile-pgp/feed)WikiDiscussions master Synced 1w 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

28

—

LowBetter than 51% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity57

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

1888d 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

[phpids/phpids

PHPIDS (PHP-Intrusion Detection System) is a simple to use, well structured, fast and state-of-the-art security layer for your PHP based web application

791150.0k2](/packages/phpids-phpids)[paragonie/ecc

PHP Elliptic Curve Cryptography library

25866.3k44](/packages/paragonie-ecc)[nicobleiler/php-passphrase

Passphrase generator with Laravel integration, inspired by Bitwarden. Uses the EFF long word list by default with support for custom wordlists.

4912.6k](/packages/nicobleiler-php-passphrase)[dwgebler/encryption

Encryption wrapper for PHP using libsodium — simple API for symmetric and asymmetric encryption, password hashing, digital signing, and message authentication.

317.5k](/packages/dwgebler-encryption)

PHPackages © 2026

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