Build Module - mymagic/open_hub GitHub Wiki
OpenHub’s extensibility revolves around modules, which are small programs that make use of OpenHub’s functionalities and changes them or add to them in order to make OpenHub’s easier to use or more tailored to the provider’s needs.
- Modules Architecture
- Quick Start with Boilerplate
- Inject Functions to Core Models
- Function Hooks
- Module Install & Upgrade
- Module Configuration
- Module Layout
- Module Web Assets
- Module Web API
- Module Checklist
Tutorial
Notes
Modularization to the underlying system are done phase by phase. The following features are not supported by module yet:
- Messages - Multilingual are centralized at
protected/messages/LANGUAGE_CODE/*.php
. It’s recommended to prefix your languages with module name, eg:Yii::t(‘MODULE_NAME’, ‘Hello World’)