承接 maslennikov-yv/action-generator 相关项目开发

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

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

maslennikov-yv/action-generator

最新稳定版本:v0.3.2

Composer 安装命令:

composer require maslennikov-yv/action-generator

包简介

README 文档

README

Actions - lightweight business logic layer

Installation

You can install the package via composer:

composer require maslennikov-yv/action-generator --dev

Publish

You can publish action config:

php artisan vendor:publish --tag=action-config 

Also, you can publish action stubs:

php artisan action:stub:publish 

You can also publish the Cursor skill that helps agents work with this package (generate single Actions or full CRUD stacks with DTOs, contracts and tests):

php artisan vendor:publish --tag=action-skill

This will copy the skill into your application at:

  • .cursor/skills/laravel-actions-generator/

After publishing, Cursor agents working in your Laravel app will automatically use this skill when you ask them to create or modify Actions/CRUD/DTO/tests with this package.

Usage

When you need to create an action, just run the following command:

php artisan make:action VerbModel --test --force

or, to make CreateModel, IndexModel, ShowModel, UpdateModel, DestroyModel actions:

php artisan make:action {*}Model --test --force

For example:

php artisan make:action GetArticle --test

or:

php artisan make:action {*}Article --test

If you plan to use the --test option, you must install pest: https://pestphp.com/docs/installation

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2024-11-21

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固