Modules - ZingPHP/Zing GitHub Wiki
A module, is a class that can be used within the Zing framework. A module MAY NOT depend on another modules existence in order to work, except for the existence of the Module
class, which the module should extend (the smarty template engine is an exception, it is handled differently).
Once a module is added, it needs to be added to the Zing core: Zing/Zing.php>>Zing::$modules
. If it is not added, Zing cannot use this module.
Zing does not load the module unless it is called within a page. This reduces the number of classes and files the Zing framework needs to load in order to run. Adding hundreds of modules will not slow down Zing since it will not load the module unless needed.
Modules should be placed in the directory: Zing/src/modules