Skip to content

Commit 50f8c77

Browse files
committed
wip
0 parents  commit 50f8c77

File tree

7 files changed

+2000
-0
lines changed

7 files changed

+2000
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/vendor
2+
/.idea

README.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Automatically change the default Laravel MVC architecture to DDD architecture
2+
3+
At the moment, I do not have the attention to add new classes / helpers or any feature that's not provided by Laravel.
4+
5+
## Status
6+
- Work in progress but **should** work.
7+
I will not be responsible if this package destroys your code.
8+
It should be used on a fresh installation **only**.
9+
10+
## Requirements
11+
- Fresh installation of Laravel 8
12+
13+
## Installation
14+
You can install the package via composer:
15+
16+
composer require cbaconnier/laravel-mvc-to-ddd --dev
17+
18+
## Usage
19+
20+
php artisan ddd:install
21+
22+
23+
## Todo
24+
- Support laravel/jetstream
25+
- Support laravel/ui
26+
- Cleanup the empty folders
27+
28+
## Credit
29+
Thanks to [Brent Roose](https://github.com/brendt) for his awesome work
30+
on [Laravel Beyond CRUD](https://spatie.be/products/laravel-beyond-crud)
31+
on which this architecture is based on.
32+
33+

composer.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"name": "cbaconnier/laravel-mvc-to-ddd",
3+
"description": "Automatically change the default Laravel MVC architecture to DDD architecture",
4+
"type": "library",
5+
"license": "MIT",
6+
"authors": [
7+
{
8+
"name": "Clément Baconnier",
9+
"email": "clement.baconnier@gmail.com"
10+
}
11+
],
12+
"require": {
13+
"php": "^7.3",
14+
"illuminate/console": "^8.0",
15+
"illuminate/filesystem": "^8.0",
16+
"illuminate/support": "^8.0"
17+
},
18+
"autoload": {
19+
"psr-4": {
20+
"Cbaconnier\\LaravelMvcToDdd\\": "src/"
21+
}
22+
},
23+
"extra": {
24+
"laravel": {
25+
"providers": [
26+
"Cbaconnier\\LaravelMvcToDdd\\LaravelMvcToDddProvider"
27+
]
28+
}
29+
}
30+
}

0 commit comments

Comments
 (0)