placetopay/php-gnupg

A library to encrypt and decrypt with GnuPG

Maintainers

Package info

github.com/placetopay/php-gnupg

pkg:composer/placetopay/php-gnupg

Statistics

Installs: 16 045

Dependents: 0

Suggesters: 0

Stars: 2

Open Issues: 3

0.2.0 2021-10-13 21:06 UTC

This package is auto-updated.

Last update: 2026-03-14 07:34:37 UTC


README

This library requires the GPG binary in order to work

Installation

composer require placetopay/php-gnupg

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

gpg (GnuPG) version < 1.9