Luminova Framework

PHP Luminova: Custom Module Autoloading Configurations

Last updated: 2024-08-28 21:32:50

Autoload modules in your application

Autoload modules in your application.


  • File path: /app/Config/Modules.php

return [
    'alias' => [
        //'Foo' => 'SomeClass\ExampleFoo',
    ],
    'psr-4' => [
       //'Example\MyNamespace'    => '/example/MyClass/',
    ]
];