承接 wr2net/lm-create 相关项目开发

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

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

wr2net/lm-create

Composer 安装命令:

composer require wr2net/lm-create

包简介

To create the suggested structures, the execution options are shown below. To create a "Project", it will be created within the default "app" directory with the name of your project where all the modules will be located.To create the modules or the complete skeleton of the module, you must also info

README 文档

README

LM-CREATE

Packagist Downloads GitHub Release GitHub License PHP Version Laravel Version Laravel Version Laravel Version

🚀 Laravel Module Create is a complete module create for Laravel.

Read Details

To create the suggested structures, the execution options are shown below. To create a "Project", it will be created within the default "app" directory with the name of your project where all the modules will be located.

To create the modules or the complete skeleton of the module, you must also inform your project, as shown in each command.

After executing the skeleton creation, the Providers for registration will be displayed.

Remember that Laravel 10 and 11 have different places for declaring Providers.

This library create structure below

└── MyProject 
    ├── Commons
        └── Traits
            ├── RouteServiceProviderTrait.php
            └── SoftDeletes.php
    └── MyModules
        ├── Controllers
            └── Api
                └── MyModuleController.php
        ├── Models
            ├── MyModule.php
            └── Repositories
                ├── MyModuleRepositoryInterface.php
                └── MyModuleRepository.php
        ├── Providers
            ├── AppServiceProvider.php
            └── RouteServiceProvider.php
        ├── Requests
            └── MyModuleRequest.php
        ├── Resources
            ├── MyModuleCollection.php
            └── MyModuleResource.php
        ├── Routes
            ├── api.php
            └── web.php
        └── Services
            └── MyModuleService.php

� Installation

Install the package via Composer:

composer require --dev wr2net/lm-create

📚 Commands

To create a project:

php artisan lm-create:project MyProject

To create a module:

php artisan lm-create:module MyProject MyModule

To create a scaffold:

php artisan lm-create:skeleton MyProject MyModule

To create a basic scaffold:

php artisan lm-create:basic MyProject MyModule

This command creates the basic structure below

└── MyProject 
    ├── Commons
        └── Traits
            └── SoftDeletes.php
    └── MyModules
        ├── Models
            ├── MyModule.php
            └── Repositories
                ├── MyModuleRepositoryInterface.php
                └── MyModuleRepository.php
        ├── Providers
            └── AppServiceProvider.php
        └── Services
            └── MyModuleService.php

If you need compound names, use quotes

This is valid for Projects, Modules and Skeleton

Eg. Project:

php artisan lm-create:project 'My Project'

Eg. Module or Skeleton:

php artisan lm-create:module 'My Project' 'My Module'
php artisan lm-create:skeleton 'My Project' 'My Module'

📄 License

The MIT License (MIT). Please see License File for more information.

📝 TO DO List

Resource Description Category
[v] Run in production Not is running by artisan FEAT
[v] Basic Skeleton Create basic skeleton to usage model FEAT
[v] Generate Unit Tests Generate a basic structure for unit testing the module. FEAT
[v] Generate Integration Tests Generate a basic structure for integration testing the module. FEAT

FIX BUGS

Resource Description Category
[v] No replace If module was created but, not is complete, in new generate cannot replace if exists resources BUG
[v] Namespace Modules with compound names are not generating namespaces correctly BUG

🔧 For Developers

composer install

Commands:

php src/Config/lm-create-dev.php -f project:MyProject
php src/Config/lm-create-dev.php -f module:MyProject:MyModule
php src/Config/lm-create-dev.php -f skeleton:MyProject:MyModule
php src/Config/lm-create-dev.php -f basic:MyProject:MyModule

wr2net/lm-create 适用场景与选型建议

wr2net/lm-create 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 256 次下载、GitHub Stars 达 5, 最近一次更新时间为 2024 年 02 月 14 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「modules」 「development」 「laravel」 「operations」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 wr2net/lm-create 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 wr2net/lm-create 我们能提供哪些服务?
定制开发 / 二次开发

基于 wr2net/lm-create 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-02-14