PHPackages                             yunkeweb/laravel-ddd - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. yunkeweb/laravel-ddd

ActiveLibrary[Framework](/categories/framework)

yunkeweb/laravel-ddd
====================

Laravel DDD modular monolith scaffolding and architecture helpers.

v0.1.0(1mo ago)01[1 PRs](https://github.com/yunkeweb/laravel-ddd/pulls)MITPHPPHP ^8.4CI passing

Since May 29Pushed 4w agoCompare

[ Source](https://github.com/yunkeweb/laravel-ddd)[ Packagist](https://packagist.org/packages/yunkeweb/laravel-ddd)[ Docs](https://github.com/yunkeweb/laravel-ddd)[ GitHub Sponsors](https://github.com/yunkeweb)[ RSS](/packages/yunkeweb-laravel-ddd/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (17)Versions (3)Used By (0)

Laravel DDD
===========

[](#laravel-ddd)

Laravel modular monolith DDD scaffolding, architecture helpers, and Laravel Boost resources.

Installation
------------

[](#installation)

```
composer require yunkeweb/laravel-ddd --dev
php artisan ddd:install
```

The install command publishes `config/ddd.php`, publishes customizable stubs to `stubs/vendor/laravel-ddd`, and adds the default PSR-4 mapping:

```
"Src\\": "src/"
```

Optional install flags:

```
php artisan ddd:install --no-stubs
php artisan ddd:install --no-autoload
php artisan ddd:install --force
```

`--dto=spatie` generates DTOs that extend `Spatie\LaravelData\Data`. Install `spatie/laravel-data` before using that option:

```
composer require spatie/laravel-data
```

Commands
--------

[](#commands)

```
php artisan ddd:module Identity
php artisan ddd:action Identity LoginWithPassword
php artisan ddd:action Identity LoginWithPassword --dto=spatie
php artisan ddd:repository Identity User
php artisan ddd:repository Identity User --no-bind
php artisan ddd:controller Identity LoginController
php artisan ddd:architecture-test
```

Laravel Boost
-------------

[](#laravel-boost)

This package ships Boost guidelines and the `laravel-ddd-architecture` skill from `resources/boost`.

```
php artisan boost:install --discover
php artisan boost:update --discover
```

Architecture
------------

[](#architecture)

- Domain stays pure PHP.
- Application coordinates use cases.
- Infrastructure adapts Laravel, packages, persistence, and external services.
- Presentation handles HTTP, console, requests, and resources.
- Interface bindings belong in each module's Infrastructure provider.
- Mature Laravel packages can be integrated when they fit; package-specific code stays outside Domain.

Testing
-------

[](#testing)

```
composer test
```

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance92

Actively maintained with recent releases

Popularity1

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

56d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b5909a122dc67ddc7d30a1daa74553f635deb98667069cbc10f72d836987cfef?d=identicon)[yunkeweb](/maintainers/yunkeweb)

---

Top Contributors

[![yunkeweb](https://avatars.githubusercontent.com/u/32658824?v=4)](https://github.com/yunkeweb "yunkeweb (2 commits)")

---

Tags

laravellaravel-dddyunkeweb

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/yunkeweb-laravel-ddd/health.svg)

```
[![Health](https://phpackages.com/badges/yunkeweb-laravel-ddd/health.svg)](https://phpackages.com/packages/yunkeweb-laravel-ddd)
```

###  Alternatives

[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M246](/packages/laravel-ai)[laravel/sail

Docker files for running a basic Laravel application.

1.9k205.7M1.3k](/packages/laravel-sail)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

77922.3M186](/packages/laravel-mcp)[laravel/folio

Page based routing for Laravel.

603583.7k34](/packages/laravel-folio)[illuminate/queue

The Illuminate Queue package.

20432.6M1.7k](/packages/illuminate-queue)[moonshine/moonshine

Laravel administration panel

1.3k253.1k86](/packages/moonshine-moonshine)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
