MIT License

项目介绍

akaunting/laravel-module 是一个托管在 GitHub 上的开源项目,主要使用 PHP 编写,采用 MIT License 许可证,目前获得 125 个 Star、31 次 Fork。

仓库全名
akaunting/laravel-module
开源许可证
MIT License
Star 数
125
Fork 数
31
未关闭 Issue
1

README 摘要

Module management package for Laravel This package intends to make your Laravel app extensible via modules. A module is a kinda small Laravel app, shipping with its own views, controllers, models, etc. Getting Started 1. Install Run the following command: 2. Register Service provider and facade will be registered automatically. If you want to register them manually in config/app.php: 3. Publish Publish config file…

完整内容见 GitHub 原始 README 或本页 。

常见问题

laravel-module 用什么语言开发?

主要使用 PHP 编写,采用 MIT License 许可证,目前有 125 个 Star。

laravel-module 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 laravel-module 的源码?

可以直接克隆仓库:git clone https://github.com/akaunting/laravel-module.git,默认分支为 master;安装与运行步骤见仓库 README。

laravel-module 最近还在维护吗?

仓库最近一次更新为 2024年12月5日,当前有 1 个未关闭 Issue;Star 数为 125,可作为社区活跃度的参考。

关于

Module management package for Laravel

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
198
价值分
85
活跃状态
活跃

语言占比

PHP

Release

README

Module management package for Laravel

Downloads StyleCI License

This package intends to make your Laravel app extensible via modules. A module is a kinda small Laravel app, shipping with its own views, controllers, models, etc.

Getting Started

1. Install

Run the following command:

composer require akaunting/laravel-module

2. Register

Service provider and facade will be registered automatically. If you want to register them manually in config/app.php:

Akaunting\Module\Facade::class,
Akaunting\Module\Providers\Laravel::class,

3. Publish

Publish config file.

php artisan vendor:publish --tag=module

4. Configure

You can change the configuration from config/module.php file

5. Autoloading

By default, the module classes are not loaded automatically. You can autoload your modules using psr-4. For example:

{
  "autoload": {
    "psr-4": {
      "App\\": "app/",
      "Modules\\": "modules/"
    }
  }
}

Tip: don’t forget to run composer dump-autoload afterwards.

Usage

Check out the wiki about the usage and further documentation.

Changelog

Please see Releases for more information what has changed recently.

Contributing

Pull requests are more than welcome. You must follow the PSR coding standards.

Credits

License

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

评论

暂无评论