{"id":15190294,"url":"https://github.com/domain-driven-laravel/commands","last_synced_at":"2026-03-05T05:31:08.979Z","repository":{"id":56970790,"uuid":"453050141","full_name":"domain-driven-laravel/commands","owner":"domain-driven-laravel","description":"Add domain driven commands to laravel and support domain driven to laravel makes commands.","archived":false,"fork":false,"pushed_at":"2022-02-13T15:04:20.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-02-28T04:52:57.448Z","etag":null,"topics":["artisan","commands","console","domain","driven","laravel","laravel-package","laravel0framework","laravel8","laravel9"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/domain-driven-laravel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-01-28T11:56:46.000Z","updated_at":"2023-10-04T06:52:20.000Z","dependencies_parsed_at":"2022-08-21T07:10:22.949Z","dependency_job_id":null,"html_url":"https://github.com/domain-driven-laravel/commands","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/domain-driven-laravel/commands","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domain-driven-laravel%2Fcommands","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domain-driven-laravel%2Fcommands/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domain-driven-laravel%2Fcommands/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domain-driven-laravel%2Fcommands/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/domain-driven-laravel","download_url":"https://codeload.github.com/domain-driven-laravel/commands/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domain-driven-laravel%2Fcommands/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30111743,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T03:40:26.266Z","status":"ssl_error","status_checked_at":"2026-03-05T03:39:15.902Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["artisan","commands","console","domain","driven","laravel","laravel-package","laravel0framework","laravel8","laravel9"],"created_at":"2024-09-27T20:21:36.875Z","updated_at":"2026-03-05T05:31:08.961Z","avatar_url":"https://github.com/domain-driven-laravel.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Laravel support for domain driven design\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/domain-driven-laravel/commands.svg?style=for-the-badge)](https://packagist.org/packages/domain-driven-laravel/commands)\n[![License](https://img.shields.io/github/license/domain-driven-laravel/commands?style=for-the-badge)](https://github.com/domain-driven-laravel/commands/blob/main/LICENSE.md)\n\n[![PHP from Packagist](https://img.shields.io/packagist/php-v/domain-driven-laravel/commands?style=flat-square)](https://packagist.org/packages/domain-driven-laravel/commands)\n[![Total Downloads](https://img.shields.io/packagist/dt/domain-driven-laravel/commands.svg?style=flat-square)](https://packagist.org/packages/domain-driven-laravel/commands)\n\nThis packages makes it possible to use laravel artisan commands if you are using Laravel in a domain driven approach.\nWe will still support every flag and option possible for the command by following the Laravel documentation. Since everyone is using their own way of Domain Driven Design the defaults are set to my structure but can be easily override using the config. Please check the config section for more information.\n\nThis package is also adding a lot of custom commands just to help you to develop Laravel in Domain Driven Approach\n\n## Installation\n```bash\ncomposer require --dev domain-driven-laravel/commands\n```\n\n## Configuration\nBy default, we are following the domain driven approach of my choice. But to make this package usable for everyone we encourage you to publish the config and tweak this package the way you want to use domain driven design.\n```bash\nsail artisan vendor:publish --tag=ddd-commands\n```\n[Default config](https://github.com/domain-driven-laravel/commands/blob/main/src/config/ddd-commands.php)\n\n_Config explanation is added inside the published ddd-commands.php file_\n\n## App layer Commands:\nIf you are not using sail please replace \"sail\" with \"php\" in commands below\n\n| Command                                                  | Default output path                      | Documentation                                                            |\n|----------------------------------------------------------|------------------------------------------|--------------------------------------------------------------------------|\n| `sail artisan make:resource {app_layer} {domain} {name}` | `src/App/{app_layer}/{domain}/Resources` | [Laravel Documentation](https://laravel.com/docs/9.x/eloquent-resources) |\n\n## Domain Commands:\nIf you are not using sail please replace \"sail\" with \"php\" in commands below\n\n| Command                                    | Default output path                       | Documentation                                                                   |\n|--------------------------------------------|-------------------------------------------|---------------------------------------------------------------------------------|\n| `sail artisan make:model {domain} {name}`  | `src/Domain/{domain}/Models`              | [Laravel Documentation](https://laravel.com/docs/9.x/eloquent)                  |\n| `sail artisan make:job {domain} {name}`    | `src/Domain/{domain}/Jobs`                | [Laravel Documentation](https://laravel.com/docs/9.x/queues#creating-jobs)      |\n| `sail artisan make:mail {domain} {name}`   | `src/Domain/{domain}/Mails`               | [Laravel Documentation](https://laravel.com/docs/9.x/mail#generating-mailables) |\n| `sail artisan make:action {domain} {name}` | `src/Domain/{domain}/Actions`             | (None yet)                                                                      |\n| `sail artisan make:dto {domain} {name}`    | `src/Domain/{domain}/DataTransferObjects` | (None yet)                                                                      |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdomain-driven-laravel%2Fcommands","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdomain-driven-laravel%2Fcommands","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdomain-driven-laravel%2Fcommands/lists"}