imagina/iworkshop 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

imagina/iworkshop

Composer 安装命令:

composer require imagina/iworkshop

包简介

CLI tool to scaffold Imagina base packages

README 文档

README

CLI tool to scaffold Imagina base packages for Laravel.

Overview

iworkshop provides artisan commands to quickly scaffold new Laravel modules and entities, following Imagina's conventions. It helps automate the creation of folder structures, configuration files, models, controllers, and more, making it easier to maintain consistency across packages.

Features

  • Scaffold a new Laravel module with a single command.
  • Generate entities (models, translations, controllers, etc.) for existing modules.
  • Predefined folder structure and stub files for rapid development.
  • Integrates with Laravel's artisan command system.

Installation DEV

Add the package to your Laravel project's composer.json (usually as a local package):

"repositories": [
    {
        "type": "path",
        "url": "./packages/imagina/iworkshop"
    }
]

Then run

composer require imagina/iworkshop:dev-main

Usage

Scaffold a New Module

php artisan module:scaffold {ModuleName}

This command creates a new module under packages/imagina/{ModuleName} with the standard folder structure and initial files.

Scaffold a New Entity

php artisan module:scaffold:entity {ModuleName} {EntityName}

This command generates model, translation, controller, and related files for the specified entity within the given module.

Service Provider

The package registers its commands via Imagina\Iworkshop\Providers\WorkshopServiceProvider.

Requirements

  • Laravel 10.x, 11.x, or ^12.0
  • PHP 8.1+

License

MIT

Author

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2025-08-29