cinexpert/tools

CineXpert Tools

3.1.0 2024-04-08 18:21 UTC

This package is auto-updated.

Last update: 2024-11-08 19:30:20 UTC


README

CircleCI

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');