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. [Utility &amp; Helpers](/categories/utility)
4. /
5. thejano/laravel-domain-driven-design

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

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

Helps to use domain driven design within laravel

2.0.0(5d ago)15425.2k↓13.9%19[1 PRs](https://github.com/thejano/laravel-domain-driven-design/pulls)MITPHPPHP ^8.2|^8.3|^8.4CI passing

Since Feb 23Pushed 5d 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 3d ago

READMEChangelog (4)Dependencies (9)Versions (7)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

61

—

FairBetter than 98% of packages

Maintenance99

Actively maintained with recent releases

Popularity44

Moderate usage in the ecosystem

Community17

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 66.7% 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 ~407 days

Total

4

Last Release

5d ago

Major Versions

1.2.0 → 2.0.02026-06-30

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

1.1.0PHP ^8.1|^8.2

2.0.0PHP ^8.2|^8.3|^8.4

### 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 (16 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

TestsPest

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

[firefly-iii/data-importer

Firefly III Data Import Tool.

8035.8k](/packages/firefly-iii-data-importer)[tey/laravel-ddd

A Laravel toolkit for Domain Driven Design patterns

1861.4k](/packages/tey-laravel-ddd)[markwalet/nova-modal-response

A Laravel Nova asset for Modal responses on an action.

17878.9k](/packages/markwalet-nova-modal-response)[ecotone/laravel

Ecotone for Laravel — CQRS, Event Sourcing, Sagas, Durable Workflows, and Outbox on top of Laravel Queue, via PHP attributes.

21318.6k3](/packages/ecotone-laravel)[ronasit/laravel-helpers

Provided helpers function and some helper class.

2085.6k31](/packages/ronasit-laravel-helpers)[team-nifty-gmbh/tall-datatables

Server-side rendered datatables for Laravel and Livewire

1320.9k4](/packages/team-nifty-gmbh-tall-datatables)

PHPackages © 2026

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