gpgl/core

Core library for the GPL PHP GPG Locker.

1.2.1 2017-05-31 21:36 UTC

README

Build Status Codecov Latest Stable Version Total Downloads License

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