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.1k↓75.9%3[3 issues](https://github.com/placetopay/php-gnupg/issues)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 yesterday

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 62% 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

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

[mews/purifier

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

2.0k18.7M143](/packages/mews-purifier)[paragonie/ecc

PHP Elliptic Curve Cryptography library

24820.0k37](/packages/paragonie-ecc)

PHPackages © 2026

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