PHPackages                             larakeeps/lara-driven - 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. larakeeps/lara-driven

ActiveLibrary[Framework](/categories/framework)

larakeeps/lara-driven
=====================

Lara-Driven is a package designed to create and organize layers using the Domain Drive Design methodology.

v1.1.16(1y ago)2361↓50%1MITPHP

Since Feb 13Pushed 1y ago1 watchersCompare

[ Source](https://github.com/douglasssantos/lara-driven)[ Packagist](https://packagist.org/packages/larakeeps/lara-driven)[ Docs](https://github.com/douglasssantos/lara-driven)[ RSS](/packages/larakeeps-lara-driven/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (7)Versions (20)Used By (0)

**Lara-Driven**

> Lara-Driven is a package designed to create and organize layers using the Domain Drive Design methodology.

### This repository is only compatible with laravel: `7.*` to `11.*`

[](#this-repository-is-only-compatible-with-laravel-7-to-11)

Installation
------------

[](#installation)

First Step, execute the command.

```
composer require larakeeps/lara-driven
```

Second step, add the LaraDrivenServiceProvider. Open config/app.php and add a new item to the providers array.

```
'providers' => ServiceProvider::defaultProviders()->merge([
        /*
         * add the service provider below.
         */
        \Larakeeps\LaraDriven\Providers\LaraDrivenServiceProvider::class

        //rest of your code......

]
```

now lara-driven is ready for operation.

lara-drive command has an argument called domain, where you can directly specify the name of the domain to be created.

```
php artisan lara-driven:make {domain?}
```

To publish lara-driven settings, run the command below

```
php artisan lara-driven:publish

//OR

php artisan vendor:publish --tag=lara-driven-config
```

To populate the seeds, run the command below

```
php artisan lara-driven:seed
```

If you need to run only one seed, use the command with the --domain= option, passing the seed domain and all seeders in the domain will be executed.

If you need to run more than one specific seed, do so in the following ways using the --domain= option.

#### Option 1: --domain=User,Group,Event

[](#option-1---domainusergroupevent)

#### Option 2: --domain=User --domain=Group --domain=Event

[](#option-2---domainuser---domaingroup---domainevent)

```
php artisan lara-driven:seed --domain=?
```

To create a domain with the help of Lara-Driven, run the command below.

```
php artisan lara-driven:make
```

After executing the command, simply pass the information requested by Lara-Driven into the terminal. Below is an example of information.

```
Enter your domain name:
 > Company

 Do you want to keep the domain name as the folder name? [Company] (yes/no) [yes]:
 > yes

 Do you want to create a [Model] for the domain? (yes/no) [yes]:
 > yes

 Do you want to create [Migration], [Seed] or [Factory]? (yes/no) [yes]:
 > yes

 Select one or more classes to manipulate your database. [Migration]:
  [0] Migration
  [1] Seed
  [2] Factory
  [3] All
 > 3

 Do you want to create a [Policy] for your model? (yes/no) [no]:
 > yes

 Do you want to create an empty [Service]? (yes/no) [no]:
 > no

 Do you want to create an [Interface] for your service? (yes/no) [no]:
 > yes

 Do you want to create the [Repository] to separate model actions from your service? (yes/no) [yes]:
 > yes

 Do you want to create an [Interface] for your repository? (yes/no) [no]:
 > yes

 Do you want to create a [Controller] for your domain? (yes/no) [yes]:
 > yes

 Do you want to create a [Request] for processing and validation of your controller? (yes/no) [yes]:
 > yes

 Do you want to install [Routes] on your domain? (yes/no) [yes]:
 > yes

 Which routes do you want to install? [Web]:
  [0] Web
  [1] Api
  [2] Both
 > 2

 Do you want to assign the routes to the [Controller]? (yes/no) [yes]:
 > yes

 Do you want to add [Middleware] to your routes? (yes/no) [yes]:
 > yes

 Do you want to create the [Config] file on your domain? (yes/no) [yes]:
 > yes

 Do you want to create the [Command] file for your domain? (yes/no) [no]:
 > yes

  INFO  Clearing cached bootstrap files.

  events .................................................................................................................................. 1ms DONE
  views ................................................................................................................................... 4ms DONE
  cache ................................................................................................................................... 2ms DONE
  route ................................................................................................................................... 2ms DONE
  config .................................................................................................................................. 1ms DONE
  compiled ................................................................................................................................ 1ms DONE

```

#### Don't forget to follow me on github and star the project.

[](#dont-forget-to-follow-me-on-github-and-star-the-project)

> ### My contacts
>
> [](#my-contacts)
>
> > E-mail:
> >
> > Linkedin: [Acessa Perfil](https://www.linkedin.com/in/douglas-da-silva-santos/) [![](https://camo.githubusercontent.com/963c0acef69284b79f7e3026da343df62ad91afc0d5df4d2a283f6cd3fb69951/68747470733a2f2f63646e2e6a7364656c6976722e6e65742f67682f64657669636f6e732f64657669636f6e2f69636f6e732f6c696e6b6564696e2f6c696e6b6564696e2d6f726967696e616c2e737667)](https://camo.githubusercontent.com/963c0acef69284b79f7e3026da343df62ad91afc0d5df4d2a283f6cd3fb69951/68747470733a2f2f63646e2e6a7364656c6976722e6e65742f67682f64657669636f6e732f64657669636f6e2f69636f6e732f6c696e6b6564696e2f6c696e6b6564696e2d6f726967696e616c2e737667)

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance41

Moderate activity, may be stable

Popularity19

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity50

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

Every ~18 days

Recently: every ~0 days

Total

19

Last Release

499d ago

### Community

Maintainers

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

---

Top Contributors

[![douglasssantos](https://avatars.githubusercontent.com/u/44000220?v=4)](https://github.com/douglasssantos "douglasssantos (29 commits)")

---

Tags

frameworklaravelcodemvcarchitecturestructureddddesigndomainLayersorganizationdrivenlarakeeps

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/larakeeps-lara-driven/health.svg)

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

###  Alternatives

[laravel/passport

Laravel Passport provides OAuth2 server support to Laravel.

3.4k85.0M532](/packages/laravel-passport)[laravel/lumen-framework

The Laravel Lumen Framework.

1.5k26.2M709](/packages/laravel-lumen-framework)[graham-campbell/markdown

Markdown Is A CommonMark Wrapper For Laravel

1.3k7.1M64](/packages/graham-campbell-markdown)[laravel-zero/framework

The Laravel Zero Framework.

3371.4M369](/packages/laravel-zero-framework)[laravel-lang/publisher

Localization publisher for your Laravel application

2167.7M24](/packages/laravel-lang-publisher)[defstudio/pest-plugin-laravel-expectations

A plugin to add laravel tailored expectations to Pest

98548.9k4](/packages/defstudio-pest-plugin-laravel-expectations)

PHPackages © 2026

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