-
-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make
rabbitevents:install
command (#41)
* Make `rabbitevents:install` command
- Loading branch information
Showing
16 changed files
with
352 additions
and
155 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?php | ||
|
||
return [ | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| RabbitEvents Connection Configuration | ||
|-------------------------------------------------------------------------- | ||
| | ||
| Here you may define the RabbitMQ connection settings that should be used | ||
| by RabbitEvents. Note that `vhost` should be created by you manually. | ||
| @see https://www.rabbitmq.com/vhosts.html for more info | ||
| | ||
*/ | ||
|
||
[ | ||
'default' => env('RABBITEVENTS_CONNECTION', 'rabbitmq'), | ||
'connections' => [ | ||
'rabbitmq' => [ | ||
'driver' => 'rabbitmq', | ||
'exchange' => env('RABBITEVENTS_EXCHANGE', 'events'), | ||
'host' => env('RABBITEVENTS_HOST', 'localhost'), | ||
'port' => env('RABBITEVENTS_PORT', 5672), | ||
'user' => env('RABBITEVENTS_USER', 'guest'), | ||
'pass' => env('RABBITEVENTS_PASSWORD', 'guest'), | ||
'vhost' => env('RABBITEVENTS_VHOST', 'events'), | ||
'logging' => [ | ||
'enabled' => env('RABBITEVENTS_LOG_ENABLED', false), | ||
'level' => env('RABBITEVENTS_LOG_LEVEL', 'info'), | ||
], | ||
], | ||
], | ||
], | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.