Skip to content

Splitting Projections and Aggregates Across Applications #480

Answered by inmanturbo
b-barry asked this question in Q&A
Discussion options

You must be logged in to vote

I have done this or something similar using composer and dependencies and service providers. You can put for instance an aggregate in one package, then put an aggregate partial and/or a projector that "subscribes" to certain events handled by the aggregate in another package, and register the projector in the package's service provider. Simply install both packages into your Laravel app.

If you want them truly running entirely separate (as in possible on another app server or droplet, container etc) then that would require a lot of additional set up on your part, with no help from the package.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by b-barry
# for free to join this conversation on GitHub. Already have an account? # to comment
Category
Q&A
Labels
None yet
2 participants