承接 domain-driven-laravel/commands 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

domain-driven-laravel/commands

Composer 安装命令:

composer require domain-driven-laravel/commands

包简介

This package will make artisan commands available but in a domain driven folder structure

README 文档

README

Latest Version on Packagist License

PHP from Packagist Total Downloads

This packages makes it possible to use laravel artisan commands if you are using Laravel in a domain driven approach. We 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.

This package is also adding a lot of custom commands just to help you to develop Laravel in Domain Driven Approach

Installation

composer require --dev domain-driven-laravel/commands

Configuration

By 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.

sail artisan vendor:publish --tag=ddd-commands

Default config

Config explanation is added inside the published ddd-commands.php file

App layer Commands:

If you are not using sail please replace "sail" with "php" in commands below

Command Default output path Documentation
sail artisan make:resource {app_layer} {domain} {name} src/App/{app_layer}/{domain}/Resources Laravel Documentation

Domain Commands:

If you are not using sail please replace "sail" with "php" in commands below

Command Default output path Documentation
sail artisan make:model {domain} {name} src/Domain/{domain}/Models Laravel Documentation
sail artisan make:job {domain} {name} src/Domain/{domain}/Jobs Laravel Documentation
sail artisan make:mail {domain} {name} src/Domain/{domain}/Mails Laravel Documentation
sail artisan make:action {domain} {name} src/Domain/{domain}/Actions (None yet)
sail artisan make:dto {domain} {name} src/Domain/{domain}/DataTransferObjects (None yet)

统计信息

  • 总下载量: 84
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-01-29

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固