Dariusz Gafka
@dgafka@phpc.social
I am sharing knowledge and experience about Software Design, DDD, Event Sourcing and Message-Driven Systems. And making them effortless to follow with Ecotone Framework in PHP.
phpc.social
If you've avoided dynamic config because the options were an expression string or a middleware class, there is a third way now.
PHP 8.5 closures in attributes work in Ecotone: dynamic delays, dedup keys, SQL parameters. One typed closure exactly where the value is needed.
You no longer need to create middlewares per use case, just simply type your function, state what you want to achieve and the rest will be handled by Ecotone.
#PHP #Ecotone #SoftwareArchitecture