v360tech/laravel-module-installer 问题修复 & 功能扩展

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

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

v360tech/laravel-module-installer

最新稳定版本:1.0.1

Composer 安装命令:

composer require v360tech/laravel-module-installer

包简介

README 文档

README

Originally forked from https://github.com/joshbrw/laravel-module-installer

The purpose of this package is to allow for easy installation of standalone Modules into the Laravel Modules package. This package will ensure that your module is installed into the Modules/ directory instead of vendor/.

You can specify an alternate directory by including a module-dir in the extra data in your composer.json file:

    "extra": {
        "module-dir": "Custom"        
    }

By default the name of the module will be extracted from the package using the convention <namespace>/<name>-module, for example v360tech/user-module would install into Modules/User. However the name of the module can be customized via extra data in your composer.json file:

    "extra": {
        "module-name": "MyUser"
    }

Now above module will be installed into Modules/MyUser.

Installation

  1. Ensure you have the type set to laravel-module in your module's composer.json
  2. Require this package: composer require v360tech/laravel-module-installer
  3. Require your bespoke module using Composer. You may want to set the constraint to dev-master to ensure you always get the latest version.

Notes

  • When working on a module that is version controlled within an app that is also version controlled, you have to commit and push from inside the Module directory and then composer update within the app itself to ensure that the latest version of your module (dependant upon constraint) is specified in your composer.lock file.

统计信息

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

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固