PHPackages                             thisisdevelopment/laravel-base-dev - 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. thisisdevelopment/laravel-base-dev

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

thisisdevelopment/laravel-base-dev
==================================

Base dev dependencies for thisisdevelopment/laravel-base

0.7.0(11mo ago)06.6k1MITPHPPHP ^8.1

Since Mar 9Pushed 11mo ago6 watchersCompare

[ Source](https://github.com/thisisdevelopment/laravel-base-dev)[ Packagist](https://packagist.org/packages/thisisdevelopment/laravel-base-dev)[ RSS](/packages/thisisdevelopment-laravel-base-dev/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (7)Versions (28)Used By (1)

thisisdevelopment/laravel-base-dev
==================================

[](#thisisdevelopmentlaravel-base-dev)

Base dev dependencies for thisisdevelopment/laravel-base This package should only be added as dev-dependency

Currently this installs the following dependencies

- squizlabs/php\_codesniffer
- barryvdh/laravel-debugbar
- barryvdh/laravel-ide-helper
- thisisdevelopment/laravel-test-snapshot

Besides the dependencies this package also includes a `vendor/bin/dev` script which is a helper script to manage a project's docker compose setup

Domain Boilerplate Code Generation
==================================

[](#domain-boilerplate-code-generation)

A few Artisan commands are available for automatic domain code generation. These can be used to setup a new domain more quickly.

commanddescription`make:domain {domain} {model}`main entry to create entire domain`make:domain-abstract-event {domain} {model}`generates common event super class`make:domain-event {domain} {model} {type}`generate specific event (used by actions)`make:domain-action {domain} {model} {type}`generate specific action`make:domain-dto {domain} {model} {type}`generate DTO to be used for either insterting or updating models in repository`make:domain-model {domain} {model}`generate the Eloquent model`make:domain-exception {domain} {model}`generate the generic exception`make:domain-repository-interface {domain} {model}`generate the repository interfaceForce option
------------

[](#force-option)

```
  -f, --force           force generation when class already exists

```

All commands allow you to pass the `--force` option. using this option you can overwrite existing files in your domain. This might be required when upgrading current installments with newer definitions. By default this option is `false`, and commands will fail by saying that the file already exists.

`make:domain`
-------------

[](#makedomain)

This is the main entry point for generating everything. It takes a number of (optional) arguments:

```
  -a, --all             Generate all related files
      --namespace       The root namespace the domain should be part of. Default: Domain
      --model           generate model
      --repository      generate repository interface
      --exception       generate exception
      --actions         generate all actions
      --create-action   generate create-action
      --update-action   generate update-action
      --delete-action   generate delete-action
      --events          generate model
      --abstract-event  generate abstract-event
      --creating-event  generate creating-event
      --created-event   generate created-event
      --updating-event  generate updating-event
      --updated-event   generate updated-event
      --deleting-event  generate deleting-event
      --deleted-event   generate deleted-event
      --dtos            generate all dtos
      --create-dto      generate create-dto
      --update-dto      generate update-dto

```

This means you can either pass `--all` to generate everything in 1 command, or specify what class you want to generate specifically by using one or more of the other options.

E.g. to generate only 2 specific actions and a repository for the `Bar` model in the `Foo` domain, run the following command:

```
$ ./artisan make:domain Foo Bar --repository --create-action --delete-action
```

Please beware that all generated code has some expectations about other classes being available. e.g. the `Action`-classes all assume the existance of the `RepositoryInterface`, the `Model` and both the appropriate `Dto` and `Event` classes. This means you can run this command for a single class, but you might need to modify the code afterwards.

The actions, events and dtos created by `make:domain` are limited to `create(d)`,`udpate(d)` and `delete(d)`. You can create more types, but you'll have to call the `make:domain-* {domain} {model} {type}` manually. e.g.

```
$ ./artisan make:domain-action Foo Bar update-email
$ ./artisan make:domain-event Foo Bar update-email
$ ./artisan make:domain-dto Foo Bar update-email
```

This will generate `Bar\UpdateEmailBarAction`, `Bar\BarUpdateEmailEvent`, and `Bar\UpdateEmailBarDto` classes.

Running the entire suite will result in the following generated files:

```
app/Domain/{domain}/
  Actions/
    {model}/
      Create{model}Action
      Delete{model}Action
      Update{model}Action
  Dtos/
    {model}/
      Create{model}Dto
      Update{model}Dto
  Events/
    {model}/
      Abstract{model}Event
      {model}CreatingEvent
      {model}CreatedEvent
      {model}UpdatingEvent
      {model}UpdatedEvent
      {model}DeletingEvent
      {model}DeletedEvent
  Exceptions/
    {model}Exception
  Models/
    {model}
  Repositories/
    {model}RepositoryInterface

```

Namespace option
----------------

[](#namespace-option)

providing the `--namespace` option allows you to change the default `Domain` root namespace to something else. e.g. `--namespace "ThisIsDevelopment\\LaravelDomain"` will generate the following Product model in the Order domain: `ThisIsDevelopment\LaravelDomain\Order\Models\Product`.

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance53

Moderate activity, may be stable

Popularity22

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 82.6% 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 ~84 days

Recently: every ~105 days

Total

24

Last Release

330d ago

PHP version history (3 changes)0.1.0PHP &gt;=7.2

0.6.0PHP &gt;=8.0

0.6.9PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/2e28c291bdd615f0334f50aef8fd3a08aa05283dfbc7e006b3b2bc6160804517?d=identicon)[ederuiter](/maintainers/ederuiter)

---

Top Contributors

[![ederuiter](https://avatars.githubusercontent.com/u/6728434?v=4)](https://github.com/ederuiter "ederuiter (19 commits)")[![faijdherbe](https://avatars.githubusercontent.com/u/1048352?v=4)](https://github.com/faijdherbe "faijdherbe (3 commits)")[![bfanger](https://avatars.githubusercontent.com/u/207248?v=4)](https://github.com/bfanger "bfanger (1 commits)")

---

Tags

laraveldevbase

### Embed Badge

![Health badge](/badges/thisisdevelopment-laravel-base-dev/health.svg)

```
[![Health](https://phpackages.com/badges/thisisdevelopment-laravel-base-dev/health.svg)](https://phpackages.com/packages/thisisdevelopment-laravel-base-dev)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[psalm/plugin-laravel

Psalm plugin for Laravel

3274.9M308](/packages/psalm-plugin-laravel)[spatie/laravel-enum

Laravel Enum support

3655.4M31](/packages/spatie-laravel-enum)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)[zonneplan/laravel-module-loader

Module loader for Laravel

24118.4k](/packages/zonneplan-laravel-module-loader)

PHPackages © 2026

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