vingiglow's avatar

Event germeration and listening in seperate projects

I have a fairly large application which has 100s of 3p integration. I was thinking of splitting the app into two where the main application only generate events while a secondary application listens for this event and pass it on the 3p.

What is the way to implement this in laravel? Using events or broadcasting? Which driver can i use for this since the apps will be running on different machines.

0 likes
2 replies
vincent15000's avatar

I think that it's necessary to use events AND broadcasting.

You will have to broadcast the events so that the other application can listen to the channel.

martinbean's avatar

@vingiglow You mention splitting your application in two, but for what benefit? It just means you now have two applications to develop and maintain and deploy instead of one.

1 like

Please or to participate in this conversation.