This is the official PHP client library for the Key Armory Encryption Key Orchestration Service. You'll first need an account by going to https://keyarmory.com. Follow the instructions to set up a project and key pool and then place the API Key you receive in the initialization script below.
composer require keyarmory/keyarmory
"keyarmory/keyarmory": "*"
$keyarmory = new \KeyArmory\KeyArmory([
'api_key' => 'your_api_key_here'
]);
$encrypted_string = $keyarmory->encrypt($your_data);
$your_data = $keyarmory->decrypt($encrypted_string);