PHPackages                             ldaidone/laravel-ddd-starter - 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. ldaidone/laravel-ddd-starter

ActiveProject[Framework](/categories/framework)

ldaidone/laravel-ddd-starter
============================

A Laravel starter template preconfigured for Domain-Driven Design with folder structure, namespaces, and laravel-ddd-commands included.

v0.1.0(5mo ago)31Apache-2.0PHPPHP ^8.2

Since Nov 26Pushed 5mo agoCompare

[ Source](https://github.com/ldaidone/laravel-ddd-starter)[ Packagist](https://packagist.org/packages/ldaidone/laravel-ddd-starter)[ RSS](/packages/ldaidone-laravel-ddd-starter/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (3)Used By (0)

📦 Laravel DDD Starter
---------------------

[](#-laravel-ddd-starter)

A clean, opinionated Laravel project template that comes preconfigured for Domain-Driven Design. This starter includes a ready-made DDD folder structure, PSR-4 autoloading, and the full laravel-ddd-commands package — so you can scaffold domains, entities, use cases, value objects, repositories, and more from day one.

 [![License](https://camo.githubusercontent.com/b29de0acdfd19013f1f02689b15c933e4a6c145be9efa718288f88ba3280b1c5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d417061636865253230322e302d626c75652e737667)](LICENSE) [![Packagist](https://camo.githubusercontent.com/8ea1cdf219caed6b191f4b4ec0f1673d7bd445e49c3a6da3f3f182ec31847079/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c646169646f6e652f6c61726176656c2d6464642d737461727465722e737667)](https://packagist.org/packages/ldaidone/laravel-ddd-starter) [![Downloads](https://camo.githubusercontent.com/e6ac563718556695f7d26fe203fb868253598c8a21890549e722f8ac421fe061/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c646169646f6e652f6c61726176656c2d6464642d737461727465722e737667)](https://packagist.org/packages/ldaidone/laravel-ddd-starter)

[!["Buy Me A Coffee"](https://camo.githubusercontent.com/9f44ce2dc3b3eecdd02598900866ffc518801df1932849703dae1e5ce5031070/68747470733a2f2f7777772e6275796d6561636f666665652e636f6d2f6173736574732f696d672f637573746f6d5f696d616765732f6f72616e67655f696d672e706e67)](https://www.buymeacoffee.com/leodaido)

---

### 🚀 Quick Start

[](#-quick-start)

Create a new Laravel DDD-ready project:

```
composer create-project ldidone/laravel-ddd-starter app-name
```

You’ll get a fresh Laravel install with:

- Pre-built DDD folder structure under app/
- Autoload namespaces for Domains &amp; Infrastructure
- The latest version of ldaidone/laravel-ddd-commands
- Optional post-install instructions in your terminal

---

### 📂 Folder Structure

[](#-folder-structure)

This starter ships with an opinionated domain layout already in place:

```
app/
├── Domains/
│   └── Billing/
│       ├── Entities/
│       ├── ValueObjects/
│       ├── DataTransferObjects/
│       ├── UseCases/
│       ├── Actions/
│       ├── Repositories/
│       └── Events/
└── Infrastructure/
    ├── Persistence/
    ├── Http/
    ├── Services/
    └── Support/
```

You can add more top-level domains freely.

---

### 🔧 Included Package: laravel-ddd-commands

[](#-included-package-laravel-ddd-commands)

This template includes:

```
"require": {
    "ldaidone/laravel-ddd-commands": "^0.1.1"
}
```

Which gives you fully integrated generators such as:

```
php artisan ddd:create-domain Billing
php artisan ddd:create-entity Billing/User
php artisan ddd:create-use-case Billing/RegisterUser
php artisan ddd:create-repository Billing/UserRepository
php artisan list ddd
```

See full documentation here:

➡️ [Laravel-DDD-Commands](https://github.com/ldaidone/laravel-ddd-commands)

---

### 🧱 Philosophy

[](#-philosophy)

This starter intentionally:

- **Removes dynamic configuration for core DDD directories**Ensuring predictable project structure and long-term architectural stability.
- **Enforces explicit domain boundaries**Each domain is isolated inside app/Domains/\*.
- **Treats Infrastructure as a first-class layer**Living under app/Infrastructure.
- **Follows Laravel’s conventions wherever possible**But strengthens them with DDD clarity.

---

### 🧪 Testing

[](#-testing)

If you extend this template or contribute:

```
composer test
```

---

Support
-------

[](#support)

If this saves you time or helps your project, consider starring ⭐ and consider [buying me a coffee](https://www.buymeacoffee.com/leodaido)! ☕️ — it keeps the ideas flowing!

---

### 🤝 Contributing

[](#-contributing)

Pull requests are welcome. Please open an issue first if you're planning large changes.

---

### 📄 License

[](#-license)

Released under the Apache 2.0 License.

See the [LICENSE](LICENSE.md) file for more details.

---

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance70

Regular maintenance activity

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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

167d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9bd0f2bae2cfbb34ebb1e5baeb9003c5469b6e67c824e8dcd5d68ca38d904118?d=identicon)[ldaidone](/maintainers/ldaidone)

---

Top Contributors

[![ldaidone](https://avatars.githubusercontent.com/u/1054693?v=4)](https://github.com/ldaidone "ldaidone (3 commits)")

---

Tags

laravelscaffoldingDomain Driven Designdddstarter

### Embed Badge

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

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

###  Alternatives

[nasirkhan/laravel-starter

A CMS like modular Laravel starter project.

1.4k2.7k](/packages/nasirkhan-laravel-starter)[lunarstorm/laravel-ddd

A Laravel toolkit for Domain Driven Design patterns

17959.0k](/packages/lunarstorm-laravel-ddd)[nwidart/laravel-broadway

A Laravel adapter for the Broadway ES/CQRS package.

12315.0k](/packages/nwidart-laravel-broadway)

PHPackages © 2026

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