{"repo":"nuwber/rabbitevents","free":true,"listed":false,"github":"https://github.com/nuwber/rabbitevents","clone":"git clone https://github.com/nuwber/rabbitevents.git","description":"Laravel Microservices Event Bus using RabbitMQ. Seamlessly publish events and handle them across distributed systems.","language":"PHP","stars":119,"topics":["rabbitmq","laravel","microservices","async","distributed-systems"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"RabbitEvents Let's imagine a use case: a User made a payment. You need to handle this payment, register the user, send him emails, send analytics data to your analysis system, and so on. The modern infrastructure requires you to create microservices that do their specific job and only it: one handles payments, one is for user management, one is the mailing system, one is for analysis. How to let all of them know that a payment succeeded and handle this message? The answer is \"To use RabbitEvents\". Once again, the RabbitEvents library helps you publish an event and handle it in another app. It doesn't make sense to use it in the same app because Laravel's Events work better for that. Demo Table of Contents 1. Installation via Composer Configuration 1. Upgrade from 8.x to 9.x 1. Publisher component 1. Listener component 1. Listeners & Payloads 1. Custom Serializers 1. Extensions 1. Examples 1. Speeding up RabbitEvents 1. Testing 1. Non-standard use 1. License Installation via Composer You can use Composer to install RabbitEvents into your Laravel project: Configuration After installing RabbitEvents, publish its config and a service provider using the rabbitevents:install Artisan command: This command installs the config file at config/rabbitevents.php and the Service Provider file at app/providers/RabbitEventsServiceProvider.php . The config file is very similar to the queue connection, but with the separate config, you'll never be confused if you have another connection to Rab","default_branch":null,"files":null,"tree":[],"storefront":"/r/nuwber","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nuwber/rabbitevents/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}