Skip to content

Commit

Permalink
Add laravel 11 dependencies for separate components
Browse files Browse the repository at this point in the history
  • Loading branch information
eugene-nuwber committed Apr 29, 2024
1 parent c98107c commit 0ff27fa
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 13 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<a name="installation"></a>
You can use Composer to install RabbitEvents into your Laravel project:
Expand Down Expand Up @@ -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 <a name="license"></a>

RabbitEvents is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: rabbitevents-dev

services:
lib:
rabbitevents:
volumes:
- ./:/var/www/rabbitevents
build:
Expand Down
13 changes: 8 additions & 5 deletions src/RabbitEvents/Foundation/composer.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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": {
Expand All @@ -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`."
}
}
4 changes: 2 additions & 2 deletions src/RabbitEvents/Listener/composer.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion src/RabbitEvents/Publisher/composer.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 0ff27fa

Please sign in to comment.