CineXpert Tools
This repository contains tools & services like a Queue, Encryption, etc. Every tool comes with an adapter pattern.
Install dependencies
$ ./composer.phar install
PHPCS
$ vendor/bin/phpcs --standard=phpcs.xml ./src
PHPUnit
$ cd tests && ../vendor/bin/phpunit
Basic Usage Example
$config = new \Cinexpert\Tools\ToolsConfig();
$config
->setAwsRegion('eu-west-1')
->setAwsKey('...')
->setAwsSecret('...');
$tools = new \Cinexpert\Tools\Tools($config);
$queue = $tools->get('queue');
$queue->sendMessage('https://my-queue-url', 'message text');