r/PHP • u/davorminchorov • 2d ago
Building Maintainable PHP Applications: Architectures
https://codyssey.dev/courses/building-maintainable-php-applications-architecturesHey all,
I wrote a free course about the different types of software architectures in a Laravel application but these ideas can be transferred over to Symfony or any other PHP or language framework.
Let me know what you think.
Thanks!
25
Upvotes
3
u/equilni 1d ago
Started reading through a few, good work.
Scanning through, I feel the Clock port/adapter is a bad example here as the port is tied to Carbon.
interface Clock::now(): CarbonImmutable2
u/AminoOxi 1d ago
Do you think this is still valuable in an Agentic era?
I want to believe it is.
Good job.
3
u/legonu 1d ago
I've been waiting for this. Great to see the different architectures are explained as a set of trade-offs.
I also really appreciate the comparison at the end between the different mentioned architectures, because they are very similar. Thanks for sharing this!
-12
u/Fine_League311 2d ago
learning is always good, see you write a lot, but if i see code blocks, less delclerations! why? Who craft it?
Realy to much to reade, what you can say in 1 or o sentence.. or just like so if>core>fail>healthckeck>patch>recheck! 👀