You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.1 KiB
1.1 KiB
OpenEMR Custom Modules
INTRODUCTION
Why use a module
- Package of functionality independent of the core app
- Administrators can manage functionality
- SOLID Geared toward small scale projects. For larger, more complex modules you may want to use the Laminas framework.
CUSTOM SQL
During installation of the module, OpenEMR will run table.sql
FORK THE SKELETON FRAMEWORK
- Go to adunsulag/oe-module-custom-skeleton in GitHub
- Click the Fork button to make a fork in your GitHub
INSTALL SKELETON FRAMEWORK
Take the time to read the instructions provided in the GitHub repo
- Launch your development IDE and open OpenEMR
- Change to the /interface/modules/custom_modules directory
- Clone your fork
git clone git@github.com:KenSchae/oe-module-cutom-skeleton.git
UPDATE composer.json
"psr-4": {
"OpenEMR\\": "src",
"OpenEMR\\Modules\\CustomModuleSkeleton\\": "interface/modules/custom_modules/oe-module-custom-skeleton/src/"
}
Run from the docker folder /docker/development-easy
composer dump-autoload