承接 vivek-mistry/laravel-code-transformer 相关项目开发

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

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

vivek-mistry/laravel-code-transformer

最新稳定版本:1.0.1

Composer 安装命令:

composer require vivek-mistry/laravel-code-transformer

包简介

Modifies your existing controller code for any model with one command.

README 文档

README

Laravel Code Transformer

Laravel Code Transformer

A developer-friendly Artisan command that allows you to quickly clone and transform any CRUD controller in your Laravel project — without using external packages.

It copies an existing controller (e.g., BasicController, CategoryController) and automatically replaces all class names, variable names, and related references with your new model name (e.g., Service, Product).

🛠️ Installation

Install the package via Composer:

composer require vivek-mistry/laravel-code-transformer

Execute via

php artisan make:transform-code
Option Description Default
--from= Source controller name (without Controller suffix) Basic
--to= Destination controller name (without Controller suffix) (required)

🧰 Notes

  • Ideal for repetitive CRUD scaffolding in Laravel projects.
  • Works for any existing controller in app/Http/Controllers/.
  • Prompts before overwriting existing files.
  • Fully local — no external package required.

Credits

License

MIT License. See LICENSE for details.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-10-03