Onion Architecture

Onion Architecture is a software architecture pattern introduced by Jeffrey Palermo. It organizes code in concentric layers, like an onion, to enforce separation of concerns and keep the core business logic independent from external systems like databases, UI, or frameworks.

Documentation

See also Hexagonal Architecture and Hexagonal Architechure (Ports and Adapters) with PHP.

Related : Adapters, Hexagonal Architecture, Hexagonal Architecture, Separation Of Concerns

Related packages : pccomponentes/ddd