biigle/module
Composer 安装命令:
composer require biigle/module
包简介
A template for a new BIIGLE module.
关键字:
README 文档
README
This is a template that can be used for the development of new BIIGLE modules.
How to develop BIIGLE modules
The BIIGLE manual contains some tutorials that can get you started with BIIGLE module development. This repository implements the code that is covered in the first three tutorials.
How to use this template
First, create a new repository based on this template. Then update the name of this module from biigle/module to whatever name you want to use for your module. The name has to be updated at the following locations:
QuotesController.phpindex.blade.php#L13index.blade.php#L16ModuleServiceProvider.php#L21ModuleServiceProvider.php#L30ModuleServiceProvider.php#L43composer.json#L2test.yml#L15
Next, update the namespace of all PHP classes (Biigle\Modules\Module) and replace Module with the name of your module. Do this in webpack.mix.js#L23, too. Also update this readme for your new module. You should remove the first two subsections and update the installation instructions. Now you can install the module and start developing.
In addition to the code of the tutorials this repository already contains the configuration for Laravel Mix as build system. To install the build system, run and then run npm install. Now you can use the following commands:
npm run dev: Starts the development server supporting hot module replacement.npm run build: Builds, minifies and publishes the assets once. Always do this before you commit new code.npm run lint: Run static analysis to check for errors.
Installation
Note that you have to replace biigle/module with the actual name of your module/repository.
- Run
composer require biigle/module. This requires your module to be published on Packagist. If you don't want to publish your package, read more on alternative options. - Add
Biigle\Modules\Module\ModuleServiceProvider::classto theprovidersarray inconfig/app.php. ReplaceModulein the class namespace with the name of your module. - Run
php artisan vendor:publish --tag=publicto refresh the public assets of the modules. Do this for every update of this module.
Developing
Take a look at the development guide of the core repository to get started with the development setup.
Want to develop a new module? Head over to the biigle/module template repository.
Contributions and bug reports
Contributions to BIIGLE are always welcome. Check out the contribution guide to get started.
biigle/module 适用场景与选型建议
biigle/module 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 7.43k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2019 年 11 月 25 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「biigle」 「biigle-module」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 biigle/module 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 biigle/module 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 biigle/module 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
BIIGLE module to create annotation assistance requests.
BIIGLE module to allow file upload and storage for users
BIIGLE module to offer an email newsletter.
BIIGLE module to offer private storage disks for users.
BIIGLE module to offer authentication via Life Science Login.
BIIGLE module to collect key performance indicators.
统计信息
- 总下载量: 7.43k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 6
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-only
- 更新时间: 2019-11-25