All Projects → cbaconnier → laravel-mvc-to-ddd

cbaconnier / laravel-mvc-to-ddd

Licence: other
Automatically change the default Laravel MVC architecture to a DDD architecture approach

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to laravel-mvc-to-ddd

awesome-software-architecture
A curated list of awesome articles, videos, and other resources to learn and practice software architecture, patterns, and principles.
Stars: ✭ 1,594 (+12161.54%)
Mutual labels:  ddd-architecture
silex-ddd-skeleton
A simple skeleton of silex application using ddd arquitecture
Stars: ✭ 19 (+46.15%)
Mutual labels:  ddd-architecture
scheduler
Laravel on my way
Stars: ✭ 20 (+53.85%)
Mutual labels:  ddd-architecture
ms-fastapi-template
This project was built as a result of a deepening of the studies discussed on the blog farlley.com with a greater focus on Domain Driven Design (DDD) architecture. In this work you will find a simple template for creating microservices, as well as a use case (which will still be implemented according to the Roadmap found in this same document) a…
Stars: ✭ 31 (+138.46%)
Mutual labels:  ddd-architecture
ddd-generic-java
Domain-Driven Design - Subdominio Generico en JAVA
Stars: ✭ 37 (+184.62%)
Mutual labels:  ddd-architecture
eShopOnWeb
Sample ASP.NET Core 6.0 reference application, powered by Microsoft, demonstrating a layered application architecture with monolithic deployment model. Download the eBook PDF from docs folder.
Stars: ✭ 8,250 (+63361.54%)
Mutual labels:  ddd-architecture
Ddd
A Domain Driven Design framework for software simplicity in node
Stars: ✭ 244 (+1776.92%)
Mutual labels:  ddd-architecture
jobofferbackend
This project is a real-world example of DDD in a backend application It applies the concept of Entity, Value Object, Root, Aggregate, Services, Repositories and Ubiquitous Language.
Stars: ✭ 15 (+15.38%)
Mutual labels:  ddd-architecture
Dermayon
Dermayon is Library for supporting build large application,distributed application, scalable, microservices, cqrs, event sourcing, including generic ef repository pattern with unit of work, generic mongo repository pattern with unit of work, kafka, etc
Stars: ✭ 66 (+407.69%)
Mutual labels:  ddd-architecture
es-emergency-call
Struggling with CQRS, A+ES, DDD? We can help you!
Stars: ✭ 26 (+100%)
Mutual labels:  ddd-architecture
dddpy
Python DDD Example and Techniques
Stars: ✭ 369 (+2738.46%)
Mutual labels:  ddd-architecture
nodejs-hexagonal-architecture-and-unit-test
This is a project to explain hexagonal architecture and unit tests in node.js
Stars: ✭ 99 (+661.54%)
Mutual labels:  ddd-architecture
ddd-referenz
Deutsche Übersetzung der DDD Referenz von Eric Evans
Stars: ✭ 58 (+346.15%)
Mutual labels:  ddd-architecture
dddplus-archetype-demo
♨️ Using dddplus-archetype build a WMS in 5 minutes. 5分钟搭建一个仓储中台WMS!
Stars: ✭ 56 (+330.77%)
Mutual labels:  ddd-architecture
sls-node-ts
Serverless Node TypeScript is a starter kit to write serverless applications by using the Serverless Framework in Node.js and TypeScript. An Apollo GraphQL server and a REST endpoint come configured out of the box
Stars: ✭ 38 (+192.31%)
Mutual labels:  ddd-architecture
Netcorekit
💗 A crafted toolkit for building cloud-native apps on the .NET platform
Stars: ✭ 248 (+1807.69%)
Mutual labels:  ddd-architecture
annict-android
No description or website provided.
Stars: ✭ 50 (+284.62%)
Mutual labels:  ddd-architecture
typescript-ddd-example
🔷🎯 TypeScript DDD Example: Complete project applying Hexagonal Architecture and Domain-Driven Design patterns
Stars: ✭ 607 (+4569.23%)
Mutual labels:  ddd-architecture
Flutter Roadmap
This is a flutter roadmap and documentation repository. If anyone is interested you can join the party to help the community and make flutter great again.
Stars: ✭ 47 (+261.54%)
Mutual labels:  ddd-architecture
nstate
A simple but powerful react state management library with low mind burden
Stars: ✭ 11 (-15.38%)
Mutual labels:  ddd-architecture

Laravel MVC to DDD

Automatically change the default Laravel MVC architecture to a DDD architecture approach.
You can see an example of what it will do on a fresh Laravel application using Livewire, Jetstream and teams feature: cbaconnier/laravel-mvc-to-ddd-demo

Disclaimer

⚠️ I will not be responsible if this package destroys your code. It should only be used on a fresh installation.

Requirements

  • Fresh installation of Laravel 9
  • Laravel Fortify (optional)
  • Laravel Jetstream (optional)
  • Laravel Pest (optional)

Installation

You can install the package via composer:

composer require cbaconnier/laravel-mvc-to-ddd --dev

Usage

Since the command may be destructive to your application, it's strongly recommended to commit before you run this command

php artisan ddd:install

Note: You can remove it once it has been installed

composer remove cbaconnier/laravel-mvc-to-ddd

Architecture

.
├── boostrap
├── config
├── database
├── public
├── resources
├── routes
├── src
│   ├── App
│   │   ├── Controllers
│   │   ├── Exceptions
│   │   ├── Providers
│   │   └── View
│   ├── Domain  
│   │   ├── Team
│   │   │   ├── Actions
│   │   │   ├── Models
│   │   │   └── Policies
│   │   └── User   
│   │       ├── Actions
│   │       ├── Models
│   │       └── Rules
│   └── Support  
│       └── Middleware
├── storage
└── tests
    ├── App
    │   ├── ApiTokens
    │   ├── Auth
    │   ├── Profile
    │   └── Teams
    ├── Domain
    └── Support

Todo

  • Support laravel/ui
  • Cleanup the empty folders

Credit

Thanks to Brent Roose for his awesome work on Laravel Beyond CRUD on which this architecture is based on.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].