placetopay / php-gnupg
A library to encrypt and decrypt with GnuPG
Installs: 12 480
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 4
Forks: 3
Open Issues: 3
Requires
- php: ^7.4|^8.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.0
- phpunit/phpunit: ^9.0
- symfony/var-dumper: ^5.3
This package is auto-updated.
Last update: 2025-01-14 05:00:41 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