PHPackages                             hungthai1401/laravel-domain-oriented - 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. hungthai1401/laravel-domain-oriented

ActiveLibrary[Framework](/categories/framework)

hungthai1401/laravel-domain-oriented
====================================

Build a domain-oriented application on Laravel Framework

v0.0.1(3y ago)53.6k↓75.6%1MITPHPPHP ^7.2|^7.3|^7.4|^8.0|^8.1

Since Jul 11Pushed 3y ago1 watchersCompare

[ Source](https://github.com/hungthai1401/laravel-domain-oriented)[ Packagist](https://packagist.org/packages/hungthai1401/laravel-domain-oriented)[ RSS](/packages/hungthai1401-laravel-domain-oriented/feed)WikiDiscussions main Synced 2d ago

READMEChangelogDependencies (4)Versions (2)Used By (1)

Laravel Domain Oriented
=======================

[](#laravel-domain-oriented)

This package builds a structure to domain-oriented application (not DDD).

Requirements
------------

[](#requirements)

- PHP 7.2+, 8.0, 8.1
- Laravel 7.x, 8.x, 9.x

Introduction
------------

[](#introduction)

I want to build structures in an organized and productive way. Take a look at the final structure:

```
src
├── App
│   ├── Admin
│   │   ├── Controllers
│   │   ├── Middlewares
│   │   ├── Requests
│   │   └── ...
│   ├── Api
│   │   ├── Controllers
│   │   ├── Middlewares
│   │   ├── Requests
│   │   └── ...
│   └── Console
│       ├── Commands
│       └── ...
├── Domain
│   ├── Dummy
│   │   ├── Actions
│   │   ├── QueryBuilders
│   │   ├── Collections
│   │   ├── DataTransferObjects
│   │   ├── Events
│   │   ├── Exceptions
│   │   ├── Listeners
│   │   ├── Models
│   │   ├── Rules
│   │   └── States
│   └── ...
├── Support
│   ├── Providers
│   ├── Middlewares
│   ├── Controllers
│   └── ...
database
├── factories
├── migrations
└── seeders
...
```

Setup
-----

[](#setup)

1. Run this Composer command to install the latest version

```
composer require hungthai1401/laravel-domain-oriented --dev
```

2. If you prefer, you can export the config files:

```
php artisan vendor:publish --provider="HT\LaravelDomainOriented\ServiceProvider" --tag="config"
```

3. Run this command to build the domain structure:

```
php artisan domain:make Dummy
```

4. And of course, if you want to remove the structure, just run this command:

```
php artisan domain:remove Dummy
```

Reading Articles
----------------

[](#reading-articles)

1. [Domain oriented Laravel](https://stitcher.io/blog/laravel-beyond-crud-01-domain-oriented-laravel)
2. [Please, stop talking about Repository pattern with Eloquent](https://adelf.tech/2019/useless-eloquent-repositories)

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity47

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

1454d ago

### Community

Maintainers

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

---

Top Contributors

[![hungthai1401](https://avatars.githubusercontent.com/u/22017922?v=4)](https://github.com/hungthai1401 "hungthai1401 (9 commits)")

---

Tags

laravelddddomain oriented

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/hungthai1401-laravel-domain-oriented/health.svg)

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

###  Alternatives

[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)[oleglfed/laravel-ddd

Generates domains for laravel Domain Driven Development

221.4k](/packages/oleglfed-laravel-ddd)

PHPackages © 2026

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