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)2487↓85.7%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 yesterday

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 69% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity51

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

544d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/44000220?v=4)[Douglas S. Santos](/maintainers/douglasssantos)[@douglasssantos](https://github.com/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

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M194](/packages/laravel-ai)[illuminate/queue

The Illuminate Queue package.

21332.6M1.6k](/packages/illuminate-queue)[laravel/cashier

Laravel Cashier provides an expressive, fluent interface to Stripe's subscription billing services.

2.6k29.9M146](/packages/laravel-cashier)[laravel/scout

Laravel Scout provides a driver based solution to searching your Eloquent models.

1.7k55.0M619](/packages/laravel-scout)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k15.1M131](/packages/laravel-pulse)

PHPackages © 2026

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