This repository contains practical examples of how to implement Clean Architecture principles in different programming languages and frameworks. The goal is to demonstrate how to decouple business logic from external concerns like frameworks, databases, and UI.
A Laravel 12 application demonstrating Clean Architecture.
- Features: Separation of Use Cases, Repositories, and Controllers.
- Tech Stack: PHP 8.2+, Laravel 12, Pest PHP.
A Go application demonstrating Clean Architecture.
- Features: Standard Go project layout with Clean Architecture layers.
- Tech Stack: Go.
- Understand the Dependency Rule.
- Learn how to separate Use Cases, and Controllers / Handlers.
- See how to implement Repository Pattern to abstract data access.
- Compare implementations across different ecosystems (PHP/Laravel vs Go).
Please navigate to the respective directories for specific installation and usage instructions:
This project is open-source and available under the MIT License.