承接 carlcandels/laravel-modulizer 相关项目开发

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

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

carlcandels/laravel-modulizer

最新稳定版本:v1.0.0

Composer 安装命令:

composer require carlcandels/laravel-modulizer

包简介

A Laravel 12-compatible package for modular architecture.

README 文档

README

A Laravel 12-compatible package that helps you organize your app into feature-based modules. Quickly scaffold routes, controllers, models, views, and service providers in isolated modules.

✨ Features

  • Modular directory structure
  • Artisan command to generate new modules
  • Automatically registers routes and views
  • Easy configuration and customization

📦 Installation

Require via Composer:

composer require carlcandels/laravel-modulizer


Then publish the configuration file:

php artisan vendor:publish --provider="YourName\\Modulizer\\ModulizerServiceProvider" --tag=modulizer-config

🚀 Usage
Generate a module:

php artisan module:make Blog

This will create:

modules/
└── Blog/
    ├── Http/Controllers/ExampleController.php
    ├── Models/Example.php
    ├── Routes/web.php
    ├── Views/index.blade.php
    ├── Providers/BlogServiceProvider.php
    └── module.json


⚙️ Configuration
Edit config/modulizer.php to change module paths or namespace.


return [
    'path' => base_path('modules'),
    'namespace' => 'Modules',
];
🛠 Requirements
PHP 8.2+

Laravel 12+

📝 License
MIT License © Your Name


---

✅ Once your package is on Packagist, you (and others!) can install it easily using:

```bash
composer require carlcandels/laravel-modulizer

统计信息

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

GitHub 信息

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

其他信息

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