How are modules such as in 1C-bitrix, opencart and other cms implemented?

If possible with an example of the principle of operation

(when the module is in a separate folder, it connects and further expands the cms functionality)

  • 2
    Write the kernel and teach it to connect modules. - Yoharny Babay

1 answer 1

best folders and classes in them. Well, autoload to help.