cinexpert / tools
CineXpert Tools
Installs: 4 817
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: ^8.1
- ext-dom: *
- ext-imap: *
- ext-mailparse: *
- aws/aws-sdk-php: ^3.52
- laminas/laminas-dependency-plugin: ^2.2
- laminas/laminas-mail: ^2.12
- laminas/laminas-servicemanager: ^3.3
- php-mime-mail-parser/php-mime-mail-parser: ^7.1
- pubnub/pubnub: ^4.1
- symfony/console: ^6.0
Requires (Dev)
- phpstan/phpstan: ^1.8
- phpunit/phpunit: ^9.5
- squizlabs/php_codesniffer: ^3.2
README
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');