PHPackages                             rlimjr/lara-clean - 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. [Database &amp; ORM](/categories/database)
4. /
5. rlimjr/lara-clean

ActiveLibrary[Database &amp; ORM](/categories/database)

rlimjr/lara-clean
=================

A Laravel package for domain migrations.

1.0.0(1y ago)0281PHPPHP ^8.2

Since Oct 28Pushed 1y ago1 watchersCompare

[ Source](https://github.com/divineninja/Lara-clean)[ Packagist](https://packagist.org/packages/rlimjr/lara-clean)[ RSS](/packages/rlimjr-lara-clean/feed)WikiDiscussions main Synced today

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

**LaraClean: A Laravel Package for Domain-Driven Design**
=========================================================

[](#laraclean-a-laravel-package-for-domain-driven-design)

**Description**
---------------

[](#description)

LaraClean is a Laravel package designed to facilitate domain-driven design (DDD) principles in your application. It provides a set of console commands to help you create and manage your domain models, DTOs, and migrations in a structured and organized way.

**Usage**
---------

[](#usage)

### Installation

[](#installation)

To install LaraClean, run the following command in your terminal:

```
composer require rlimjr/lara-clean
```

### Available Commands

[](#available-commands)

LaraClean provides the following console commands:

- `make:domain`: Create a new domain model
- `make:domain-dto`: Create a new DTO (Data Transfer Object)
- `make:domain-migration`: Create a new migration for a domain model

### Command Options

[](#command-options)

- `--domain`: Specify the domain name (required)
- `--name`: Specify the model or DTO name (required)
- `--path`: Specify the path to the domain directory (optional)

### Examples

[](#examples)

- Create a new domain model:

```
php artisan make:domain Question
```

- Create a new DTO:

```
php artisan make:dto Question Question
```

- Create a new migration for a domain model:

```
php artisan make:domain-migration Question Choices
```

### Directory Structure

[](#directory-structure)

LaraClean assumes the following directory structure for your domain models and DTOs:

```
app/
Domain/
{domain-name}/
Models/
{model-name}.php
DTOs/
{dto-name}.php
Migrations/
{migration-name}.php
```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

613d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3126378?v=4)[Reylimjr](/maintainers/divineninja)[@divineninja](https://github.com/divineninja)

---

Top Contributors

[![divineninja](https://avatars.githubusercontent.com/u/3126378?v=4)](https://github.com/divineninja "divineninja (8 commits)")

### Embed Badge

![Health badge](/badges/rlimjr-lara-clean/health.svg)

```
[![Health](https://phpackages.com/badges/rlimjr-lara-clean/health.svg)](https://phpackages.com/packages/rlimjr-lara-clean)
```

###  Alternatives

[anourvalar/eloquent-serialize

Laravel Query Builder (Eloquent) serialization

11223.5M33](/packages/anourvalar-eloquent-serialize)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135224.7k7](/packages/statamic-rad-pack-runway)[api-platform/laravel

API Platform support for Laravel

58171.4k14](/packages/api-platform-laravel)[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)[duncanmcclean/statamic-cargo

Comprehensive e-commerce addon for Statamic. Build bespoke e-commerce sites without the complexity.

3416.7k](/packages/duncanmcclean-statamic-cargo)

PHPackages © 2026

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