定制 kamrul-haque/action-crud-helper 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

kamrul-haque/action-crud-helper

最新稳定版本:v3.0.1

Composer 安装命令:

composer require kamrul-haque/action-crud-helper

包简介

Generate everything needed for a CRUD operation in Laravel with or without Action classes executing just one command. Also generates frontend scaffolding for blade or vue inertia stack.

README 文档

README

Generate everything needed for a CRUD operation in Laravel with or without Action classes executing just one command. Also generates frontend scaffolding for blade or vue inertia stack.

Installation

composer require kamrul-haque/action-crud-helper --dev
  • Publish stubs for files generated:
php artisan vendor:publish --tag="action-crud-helper-stubs"

Usage

  • To generate CRUD helpers:
php artisan make:crud ModelName --stack --all

supported stacks are api, blade or inertia (inertia vue). --all option will generate everything required for a CRUD operation along with Action classes. Alternatively, run the command without stack & all options to select files to generate interactively.

  • To generate only Action class:
php artisan make:action ActionName
  • To customize the files generated, customize the stubs files located in stubs folder:
  • To publish the tests:
php artisan vendor:publish --tag="action-crud-helper-tests"

Note: the tests for the package only support PestPHP currently.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-02-28