gpgl / core
Core library for the GPL PHP GPG Locker.
1.2.1
2017-05-31 21:36 UTC
Requires
- php: ^7.0
- composer/semver: ^1.4
- pear/crypt_gpg: ^1.6
Requires (Dev)
- phpunit/phpunit: ^6.1
This package is not auto-updated.
Last update: 2025-03-26 04:32:29 UTC
README
PHP 7 core library to manage data secured with The GNU Privacy Guard.
Installation
You can use the library in your own project with composer:
composer require gpgl/core
Testing
Because the tests require access to your GPG keyring and fixtures need specific secret keys present, it's best to run them inside the pre-built Docker container.
docker run --rm -it -v "$PWD":/code gpgl/test-core
The container is built with composer to install the dependencies too.
docker run --rm -it -v "$PWD":/code gpgl/test-core composer install
The Dockerfile is also provided for customization.
docker build -t gpgl/test-core:mytag ./tests/docker