PHPackages                             placetopay/php-gnupg - 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. placetopay/php-gnupg

ActiveLibrary[Security](/categories/security)

placetopay/php-gnupg
====================

A library to encrypt and decrypt with GnuPG

0.2.0(4y ago)217.3k↓76.5%4[3 issues](https://github.com/placetopay/php-gnupg/issues)[2 PRs](https://github.com/placetopay/php-gnupg/pulls)MITPHPPHP ^7.4|^8.0

Since Nov 3Pushed 4y ago3 watchersCompare

[ Source](https://github.com/placetopay/php-gnupg)[ Packagist](https://packagist.org/packages/placetopay/php-gnupg)[ RSS](/packages/placetopay-php-gnupg/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (4)Dependencies (3)Versions (9)Used By (0)

Placetopay PHP - GnuPG
======================

[](#placetopay-php---gnupg)

This library requires the GPG binary in order to work

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

[](#installation)

```
composer require placetopay/php-gnupg

```

### Usage

[](#usage)

```
$gnupg = new \PlacetoPay\GnuPG\GnuPG([
    'gpgExecutable' => '/usr/local/bin/gpg', // The full path to the GPG executable
    'ringPath' => '~/.gnupg' // Path to the folder containing the keyring
]);

```

### Restrictions

[](#restrictions)

gpg (GnuPG) version &lt; 1.9

###  Health Score

30

—

LowBetter than 61% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~330 days

Total

7

Last Release

1769d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/188a6d118a8949533ff4154931c90b50f20e0fdebfb98831fd215a50430cfa67?d=identicon)[placetopay](/maintainers/placetopay)

---

Top Contributors

[![placetopay](https://avatars.githubusercontent.com/u/6070773?v=4)](https://github.com/placetopay "placetopay (6 commits)")[![dnetix](https://avatars.githubusercontent.com/u/4644865?v=4)](https://github.com/dnetix "dnetix (5 commits)")[![herodez](https://avatars.githubusercontent.com/u/9168620?v=4)](https://github.com/herodez "herodez (2 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/placetopay-php-gnupg/health.svg)

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

###  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)
