PHP code example of swiftchase / queue-sqs-s3event
1. Go to this page and download the library: Download swiftchase/queue-sqs-s3event library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
swiftchase / queue-sqs-s3event example snippets
'slm_queue' => [
'queues' => [
'bucket-name' => [
'job_class' => 'My\Job\S3EventJob' // extends AbstractS3EventJob
]
],
'queue_manager' => [
'factories' => [
'bucket-name' => 'S3EventQueue\Queue\S3EventQueueFactory'
]
]
]