From 6362072bb2b4775f6aaecfc6883f5091e90b2dd8 Mon Sep 17 00:00:00 2001 From: Daniel Alamo Date: Mon, 21 Apr 2025 11:25:53 -0400 Subject: [PATCH 1/2] feat: Add `Laravel 12` support --- .github/workflows/run-tests.yml | 2 +- composer.json | 108 ++++++++++++++++---------------- 2 files changed, 54 insertions(+), 56 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 49224c9..eb33bcb 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -9,7 +9,7 @@ jobs: fail-fast: false matrix: php: [8.0, 8.1, 8.2, 8.3, 8.4] - laravel: [8.*, 9.*, 10.*, 11.*] + laravel: [8.*, 9.*, 10.*, 11.*, 12.*] exclude: - php: 8.0 laravel: 10.* diff --git a/composer.json b/composer.json index 67d18fe..0ec81e5 100644 --- a/composer.json +++ b/composer.json @@ -1,58 +1,56 @@ { - "name": "pod-point/laravel-aws-pubsub", - "description": "A Laravel broadcasting driver and queue driver that broadcasts and listens to published events utilising AWS SNS, EventBridge and SQS.", - "keywords": [ - "laravel", - "broadcasting", - "broadcast", - "queue", - "listeners", - "pubsub", - "aws", - "sns", - "sqs" - ], - "homepage": "https://github.com/pod-point/laravel-aws-pubsub", - "license": "MIT", - "authors": [ - { - "name": "Pod Point Software Team", - "email": "software@pod-point.com" - } - ], - "require": { - "php": "^8.0", - "ext-json": "*", - "aws/aws-sdk-php": "^3.155", - "illuminate/support": "^8.52|^9.0|^10.0|^11.0" - }, - "require-dev": { - "orchestra/testbench": "^6.0|^7.0|^8.0|^9.0" - }, - "autoload": { - "psr-4": { - "PodPoint\\AwsPubSub\\": "src" - } - }, - "autoload-dev": { - "psr-4": { - "PodPoint\\AwsPubSub\\Tests\\": "tests" - } - }, - "extra": { - "laravel": { - "providers": [ - "PodPoint\\AwsPubSub\\AwsPubSubServiceProvider" - ] - } - }, - "scripts": { - "test": "vendor/bin/phpunit --colors=always", - "test-coverage": "vendor/bin/phpunit --coverage-html coverage" - }, - "minimum-stability": "dev", - "prefer-stable": true, - "config": { - "sort-packages": true + "name": "pod-point/laravel-aws-pubsub", + "description": "A Laravel broadcasting driver and queue driver that broadcasts and listens to published events utilising AWS SNS, EventBridge and SQS.", + "keywords": [ + "laravel", + "broadcasting", + "broadcast", + "queue", + "listeners", + "pubsub", + "aws", + "sns", + "sqs" + ], + "homepage": "https://github.com/pod-point/laravel-aws-pubsub", + "license": "MIT", + "authors": [ + { + "name": "Pod Point Software Team", + "email": "software@pod-point.com" } + ], + "require": { + "php": "^8.0", + "ext-json": "*", + "aws/aws-sdk-php": "^3.155", + "illuminate/support": "^8.52|^9.0|^10.0|^11.0|^12.0" + }, + "require-dev": { + "orchestra/testbench": "^6.0|^7.0|^8.0|^9.0" + }, + "autoload": { + "psr-4": { + "PodPoint\\AwsPubSub\\": "src" + } + }, + "autoload-dev": { + "psr-4": { + "PodPoint\\AwsPubSub\\Tests\\": "tests" + } + }, + "extra": { + "laravel": { + "providers": ["PodPoint\\AwsPubSub\\AwsPubSubServiceProvider"] + } + }, + "scripts": { + "test": "vendor/bin/phpunit --colors=always", + "test-coverage": "vendor/bin/phpunit --coverage-html coverage" + }, + "minimum-stability": "dev", + "prefer-stable": true, + "config": { + "sort-packages": true + } } From 7f517b6f4053d4acef4964e6ec60105334819dc1 Mon Sep 17 00:00:00 2001 From: Daniel Alamo Date: Mon, 21 Apr 2025 11:33:21 -0400 Subject: [PATCH 2/2] Cleanup composer.json --- composer.json | 106 +++++++++++++++++++++++++------------------------- 1 file changed, 53 insertions(+), 53 deletions(-) diff --git a/composer.json b/composer.json index 0ec81e5..59cebe9 100644 --- a/composer.json +++ b/composer.json @@ -1,56 +1,56 @@ { - "name": "pod-point/laravel-aws-pubsub", - "description": "A Laravel broadcasting driver and queue driver that broadcasts and listens to published events utilising AWS SNS, EventBridge and SQS.", - "keywords": [ - "laravel", - "broadcasting", - "broadcast", - "queue", - "listeners", - "pubsub", - "aws", - "sns", - "sqs" - ], - "homepage": "https://github.com/pod-point/laravel-aws-pubsub", - "license": "MIT", - "authors": [ - { - "name": "Pod Point Software Team", - "email": "software@pod-point.com" + "name": "pod-point/laravel-aws-pubsub", + "description": "A Laravel broadcasting driver and queue driver that broadcasts and listens to published events utilising AWS SNS, EventBridge and SQS.", + "keywords": [ + "laravel", + "broadcasting", + "broadcast", + "queue", + "listeners", + "pubsub", + "aws", + "sns", + "sqs" + ], + "homepage": "https://github.com/pod-point/laravel-aws-pubsub", + "license": "MIT", + "authors": [ + { + "name": "Pod Point Software Team", + "email": "software@pod-point.com" + } + ], + "require": { + "php": "^8.0", + "ext-json": "*", + "aws/aws-sdk-php": "^3.155", + "illuminate/support": "^8.52|^9.0|^10.0|^11.0|^12.0" + }, + "require-dev": { + "orchestra/testbench": "^6.0|^7.0|^8.0|^9.0" + }, + "autoload": { + "psr-4": { + "PodPoint\\AwsPubSub\\": "src" + } + }, + "autoload-dev": { + "psr-4": { + "PodPoint\\AwsPubSub\\Tests\\": "tests" + } + }, + "extra": { + "laravel": { + "providers": ["PodPoint\\AwsPubSub\\AwsPubSubServiceProvider"] + } + }, + "scripts": { + "test": "vendor/bin/phpunit --colors=always", + "test-coverage": "vendor/bin/phpunit --coverage-html coverage" + }, + "minimum-stability": "dev", + "prefer-stable": true, + "config": { + "sort-packages": true } - ], - "require": { - "php": "^8.0", - "ext-json": "*", - "aws/aws-sdk-php": "^3.155", - "illuminate/support": "^8.52|^9.0|^10.0|^11.0|^12.0" - }, - "require-dev": { - "orchestra/testbench": "^6.0|^7.0|^8.0|^9.0" - }, - "autoload": { - "psr-4": { - "PodPoint\\AwsPubSub\\": "src" - } - }, - "autoload-dev": { - "psr-4": { - "PodPoint\\AwsPubSub\\Tests\\": "tests" - } - }, - "extra": { - "laravel": { - "providers": ["PodPoint\\AwsPubSub\\AwsPubSubServiceProvider"] - } - }, - "scripts": { - "test": "vendor/bin/phpunit --colors=always", - "test-coverage": "vendor/bin/phpunit --coverage-html coverage" - }, - "minimum-stability": "dev", - "prefer-stable": true, - "config": { - "sort-packages": true - } }