定制 adunsulag/oe-module-custom-skeleton 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

adunsulag/oe-module-custom-skeleton

Composer 安装命令:

composer require adunsulag/oe-module-custom-skeleton

包简介

OpenEMR Custom Module Skeleton Starter Project

README 文档

README

This is a sample module project that developers can clone and use to create their own custom modules inside the OpenEMR codebase. These modules leverage the oe-module-install-plugin which installs the custom module into the OpenEMR custom module installation folder.

The project has sample code that demostrates adding your module to the menu system, creating global settings, and adding a rest api endpoint.

There are a limited number of events currently in the OpenEMR codebase, as we continue to add support for module writers we will add more events to the codebase. If there is a place in the core codebase you would like your custom module to connect to please file an issue at https://github.com/openemr/openemr

Getting Started

You can start by cloning the project. When developing modules the best initial location would be to clone the directory inside the OpenEMR custom modules location. This is at <openemr_installation_directory>//interface/modules/custom_modules/

git clone https://github.com/adunsulag/oe-module-custom-skeleton <your-project-name>

Update the composer.json file properties for your own project.

Look at src/Bootstrap.php to see how to add menu items, subscribe to system events, insert global settings, or adjust the OpenEMR api.

Installing Module Via Composer

There are two ways to install your module via composer.

Public Module

We highly encourage you to share your created modules with the OpenEMR community. To ensure that other developers / users can install your packages please register your module on https://packagist.org/. Once your module has been registered users can install your package by doing a composer require "<namespace>/<your-package-name>

Private Module

If your module is a private module you can still tell composer where to find your module by setting it up to use a private repository. You can do it with the following command:

composer config repositories.repo-name vcs https://github.com/<organization or user name>/<repository name>

For example to install this skeleton as a module you can run the following

composer config repositories.repo-name vcs https://github.com/adunsulag/oe-module-custom-skeleton

At that point you can run the install command

composer require adunsulag/oe-module-custom-skeleton

Installing Module via filesystem

If you copy your module into the installation directory you will need to copy your module's composer.json "psr-4" property into your OpenEMR's psr-4 settings. You will also need to run a composer dump-autoload wherever your openemr composer.json file is located in order to get your namespace properties setup properly to include your module.

Activating Your Module

Install your module using either composer (recommended) or by placing your module in the <openemr_installation_directory>//interface/modules/custom_modules/.

Once your module is installed in OpenEMR custom_modules folder you can activate your module in OpenEMR by doing the following.

  1. Login to your OpenEMR installation as an administrator
  2. Go to your menu and select Modules -> Manage Modules
  3. Click on the Unregistered tab in your modules list
  4. Find your module and click the Register button. This will reload the page and put your module in the Registered list tab of your modules
  5. Now click the Install button next your module name.
  6. Finally click the Enable button for your module.

Contributing

If you would like to help in improving the skeleton library just post an issue on Github or send a pull request.

adunsulag/oe-module-custom-skeleton 适用场景与选型建议

adunsulag/oe-module-custom-skeleton 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 80 次下载、GitHub Stars 达 13, 最近一次更新时间为 2021 年 08 月 02 日, 在 PHP 生态内属于活跃度较高的组件。

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

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

围绕 adunsulag/oe-module-custom-skeleton 我们能提供哪些服务?
定制开发 / 二次开发

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

BUG 修复 & 性能优化

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

项目外包 & 长期维护

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

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

统计信息

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

GitHub 信息

  • Stars: 13
  • Watchers: 3
  • Forks: 18
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2021-08-02