diff --git a/README.md b/README.md index d58d476..bd165a4 100644 --- a/README.md +++ b/README.md @@ -19,9 +19,10 @@ Once again, the RabbitEvents library helps you publish an event and handle it in 1. [Upgrade from 7.x to 8.x](#upgrade_7.x-8.x) 1. [Publisher component](#publisher) 1. [Listener component](#listener) -1. [Speeding up RabbitEvents](#speeding-up-rabbitevents) 1. [Examples](./examples) +1. [Speeding up RabbitEvents](#speeding-up-rabbitevents) 1. [Non-standard use](#non-standard-use) +1. [License](#license) ## Installation via Composer You can use Composer to install RabbitEvents into your Laravel project: @@ -142,8 +143,6 @@ If you're using only one part of RabbitEvents, you should know a few things: There are 3 elements in this array, so 3 variables will be passed to a Listener (an array, a string, and an integer). If an associative array is being passed, the Dispatcher wraps this array by itself. - -# License +# License RabbitEvents is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT). - diff --git a/docker-compose.yaml b/docker-compose.yaml index 122fcab..c2c38d3 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,7 +1,7 @@ name: rabbitevents-dev services: - lib: + rabbitevents: volumes: - ./:/var/www/rabbitevents build: diff --git a/src/RabbitEvents/Foundation/composer.json b/src/RabbitEvents/Foundation/composer.json index e76389a..759f113 100644 --- a/src/RabbitEvents/Foundation/composer.json +++ b/src/RabbitEvents/Foundation/composer.json @@ -1,6 +1,7 @@ { "name": "rabbitevents/foundation", - "description": " ", + "description": "Rabbitevents common package", + "homepage": "https://github.com/rabbitevents/foundation", "keywords": ["laravel", "rabbitmq", "events", "broadcast"], "type": "library", "license": "MIT", @@ -14,9 +15,9 @@ "php": "^8.1", "ext-bcmath": "*", "ext-json": "*", - "illuminate/support": "^9.0|^10.0", - "illuminate/console": "^9.0|^10.0", - "illuminate/container": "^9.0|^10.0", + "illuminate/support": "9 - 11", + "illuminate/console": "^9 - 11", + "illuminate/container": "9 - 11", "enqueue/amqp-lib": "^0.10" }, "autoload": { @@ -32,6 +33,8 @@ } }, "suggest": { - "vlucas/phpdotenv": "Required to use env funciton." + "ext-pcntl": "Required to use all features of the worker.", + "ext-amqp": "Using this extension makes your app faster. If you're using it you need to install enqueue/amqp-ext.", + "enqueue/amqp-ext": "This package is necessary if you want to use `ext-amqp`." } } diff --git a/src/RabbitEvents/Listener/composer.json b/src/RabbitEvents/Listener/composer.json index 869de44..98dad19 100644 --- a/src/RabbitEvents/Listener/composer.json +++ b/src/RabbitEvents/Listener/composer.json @@ -1,6 +1,6 @@ { "name": "rabbitevents/listener", - "description": "The Listener part of the RabbitEvents library.", + "description": "The Listener component of the RabbitEvents library.", "keywords": ["laravel", "rabbitmq", "events", "listener", "sub"], "type": "library", "license": "MIT", @@ -14,7 +14,7 @@ "require": { "php": "^8.1", "ext-json": "*", - "illuminate/events": "^9.0|^10.0", + "illuminate/events": "9 - 11", "rabbitevents/foundation": "self.version" }, "autoload": { diff --git a/src/RabbitEvents/Publisher/composer.json b/src/RabbitEvents/Publisher/composer.json index 968cfd9..8bb67d5 100644 --- a/src/RabbitEvents/Publisher/composer.json +++ b/src/RabbitEvents/Publisher/composer.json @@ -1,6 +1,6 @@ { "name": "rabbitevents/publisher", - "description": "The Publisher part of the RabbitEvents package.", + "description": "The Publisher component of the RabbitEvents package.", "keywords": ["laravel", "rabbitmq", "events", "broadcast", "publish", "pub"], "type": "library", "license": "MIT",