pawprintdigital/laravel-queue-raw-sqs
queue:work), making it a drop-in replacement for SQS-specific logic in jobs.raw-sqs. Example:
'connections' => [
'raw-sqs' => [
'driver' => 'raw-sqs',
'key' => 'AWS_KEY',
'secret' => 'AWS_SECRET',
'region' => 'us-east-1',
'queue' => 'your-queue-url',
],
],
PawprintDigital\RawSqs\Jobs\RawSqsJob or manually handle raw SQS messages via RawSqsMessage.guzzlehttp/guzzle (for SQS API calls) and aws/aws-sdk-php (implicit, but not explicitly declared).sqs queue driver (which uses aws/aws-sdk-php).aws/sqs-mock or localstack).sqs driver?
aws/aws-sdk-php + custom queue workers achieve the same goal with less risk?spatie/laravel-aws) that offer SQS integration?BootServiceProvider).QueueManager).array_key_first replacements).sqs driver (which uses v3).
create_function).sqs driver (e.g., DLQ, batch processing).RawSqsJob to validate message handling.composer require pawprintdigital/laravel-queue-raw-sqs
config/queue.php:
'connections' => [
'raw-sqs' => [
'driver' => 'raw-sqs',
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
'region' => env('AWS_REGION'),
'queue' => env('SQS_QUEUE_URL'),
],
],
RawSqsJob or handle raw messages:
use PawprintDigital\RawSqs\Jobs\RawSqsJob;
class MyRawSqsJob extends RawSqsJob {
public function handle(RawSqsMessage $message) {
// Process raw SQS message
}
}
dispatch(new MyRawSqsJob()) or push raw messages:
use PawprintDigital\RawSqs\Facades\RawSqs;
RawSqs::push('your-queue-url', $rawMessage);
localstack) to avoid AWS costs.aws/aws-sdk-php instead.sqs driver uses SDK v3; this package uses v2.array_key_first → array_key_first($array)).raw-sqs driver.guzzlehttp/guzzle and AWS SDK v2 may drop support for older PHP/Laravel.How can I help you explore Laravel packages today?