Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 1.39 KB

README.md

File metadata and controls

44 lines (31 loc) · 1.39 KB

GPL PHP GPG Locker Core

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