The Quantum framework follows to PSR-4 standards and uses Composer to do the autoloading. The framework only loads classes from directoies `modules`, `hooks`, `base` and Quantum core itself.

"autoload": {
    "psr-4": {
        "Modules\\": "modules",
        "Hooks\\": "hooks",
        "Base\\": "base"

It's possible to autoload classes from other directories by defining them in classmap section of composer.json

The framework also finds and loads files which are under directories `helper` and `libraries` for helper functions and 3rd party libraries which does not implemented under PSR-4 standard.

The framework allows to load helpers and libraries from other places as well using load() method, but this will be covered in appropriate sections.

<< Prev Next >>