承接 thuraaung2493/laravel-make-files-tools 相关项目开发

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

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

thuraaung2493/laravel-make-files-tools

Composer 安装命令:

composer require thuraaung2493/laravel-make-files-tools

包简介

A small cli tools to create DTO, Action and Service classes for Laravel project.

README 文档

README

It supports Laravel 9+ and PHP 8.1+

Description

This package is small cli tool for creating the Action class, DTO class and Service class.

Installation

Laravel

Require this package with composer using the following command:

  composer require thuraaung2493/laravel-make-files-tools@dev

Usage

To create DTO class

  php artisan make:dto NewUser --pest

  // created in App\DataObjects\NewUser.php & tests/Feature/DataObject/NewUserTest.php

To create Action class

  php artisan make:action CreateUserAction --pest

  // created in App\Actions\CreateUserAction.php & tests/Feature/Actions/CreateUserActionTest.php

To create Service class

  php artisan make:service NotificationService --pest

  // created in App\Services\NotificationService.php & tests/Feature/Services/NotificationServiceTest.php

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-05-01