PHPackages                             thejano/laravel-domain-driven-design - 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. thejano/laravel-domain-driven-design

ActiveLibrary

thejano/laravel-domain-driven-design
====================================

Helps to use domain driven design within laravel

1.2.0(8mo ago)15423.8k↑70.8%19[1 PRs](https://github.com/thejano/laravel-domain-driven-design/pulls)MITPHPPHP ^8.1|^8.2CI passing

Since Feb 23Pushed 1mo ago4 watchersCompare

[ Source](https://github.com/thejano/laravel-domain-driven-design)[ Packagist](https://packagist.org/packages/thejano/laravel-domain-driven-design)[ Docs](https://github.com/thejano/laravel-domain-driven-design)[ RSS](/packages/thejano-laravel-domain-driven-design/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (3)Versions (5)Used By (0)

Laravel Domain Driven Design
============================

[](#laravel-domain-driven-design)

[![Latest Version on Packagist](https://camo.githubusercontent.com/1ab249678d8e625c86f014ad5e4e136879fee003070749ec0599694e14fb82aa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7468656a616e6f2f6c61726176656c2d646f6d61696e2d64726976656e2d64657369676e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/thejano/laravel-domain-driven-design)[![GitHub Code Style Action Status](https://github.com/thejano/laravel-domain-driven-design/actions/workflows/pint.yml/badge.svg)](https://github.com/thejano/laravel-domain-driven-design/actions/workflows/piny.yml)[![Total Downloads](https://camo.githubusercontent.com/97aaca89fe22597f7096ce3705ec67fe0c5a338c0298cb48a4cbf5fce614db87/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7468656a616e6f2f6c61726176656c2d646f6d61696e2d64726976656e2d64657369676e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/thejano/laravel-domain-driven-design)

[Domain-Driven Design](https://en.wikipedia.org/wiki/Domain-driven_design) (DDD) is a software development approach that emphasizes understanding and modeling the business domain. The goal is to create software that aligns with the needs of the business and is easier to maintain. DDD uses concepts such as bounded contexts, entity modeling, and ubiquitous language to create robust and maintainable software architecture.

This package helps you to create domains within your Laravel application. It provides a set of artisan command to generate Models, Controllers, Actions, Services and more.

You create an Album domain just by running ```
php artisan d:create Album
```

It would create a domain inside `app` folder under `Domain/Album` folder. Also, it would generate the following scaffold:

```
|____app
| |____ Domain
| | |____ Album
| | | |____ Models
| | | |____ Exceptions
| | | |____ Policies
| | | |____ Http
| | | | |____ Middleware
| | | | |____ Resources
| | | | |____ Requests
| | | | |____ Controllers
| | | |____ Actions
| | | |____ Jobs
| | | |____ Events
| | | |____ Data
| | | |____ Observers
| | | |____ Listeners
| | | |____ Services
```

Installation and Usage
----------------------

[](#installation-and-usage)

Please, check the documentation below to install and use the package

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Dr Pshtiwan](https://github.com/drpshtiwan)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

54

—

FairBetter than 97% of packages

Maintenance77

Regular maintenance activity

Popularity45

Moderate usage in the ecosystem

Community17

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 65.2% 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

Every ~464 days

Total

3

Last Release

253d ago

PHP version history (2 changes)1.0.0PHP ^8.0|^8.1|^8.2

1.1.0PHP ^8.1|^8.2

### Community

Maintainers

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

---

Top Contributors

[![drpshtiwan](https://avatars.githubusercontent.com/u/6718949?v=4)](https://github.com/drpshtiwan "drpshtiwan (15 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (5 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (3 commits)")

---

Tags

dddddd-architectureddd-patternsdesigndesign-patternsdomain-driven-designlaravelphplaravelDomain Driven Designddddesigndomainlaravel-dddddTheJanodrivemlaravel-domain-driven-design

###  Code Quality

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/thejano-laravel-domain-driven-design/health.svg)

```
[![Health](https://phpackages.com/badges/thejano-laravel-domain-driven-design/health.svg)](https://phpackages.com/packages/thejano-laravel-domain-driven-design)
```

###  Alternatives

[lunarstorm/laravel-ddd

A Laravel toolkit for Domain Driven Design patterns

17959.0k](/packages/lunarstorm-laravel-ddd)[treshugart/model

Model is a simple, lightweight and easy-to-use Domain Driven Entity framework.

171.4k](/packages/treshugart-model)[devco/model

Model is a simple, lightweight and easy-to-use Domain Driven Entity framework.

171.4k](/packages/devco-model)

PHPackages © 2026

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