Documentation
README
Bitrix Modules
Identifier and Namespace
- Identifier:
<vendor>.<module>(lowercase, no_, no digit at start). - Installer class:
<vendor>_<module>(dot →_). - Namespace:
\<Vendor>\<Module>\...(dot →\, CamelCase) for partner modules with a dot in the id. - One-word module id (no partner prefix), e.g.
mymodule: installer classmymodule, PSR-4 namespace\Bitrix\Mymodule(Loader usesBitrix\+ucfirst($moduleName)), not\Mymodule.
Quick Creation
php bitrix/bitrix.php make:module vendor.module
Since main 25.900. On older versions, scaffold files manually.
make:module creates a minimal skeleton only:
This is the opening of the README. Read the full README on GitHub.