autoload zf3 module without terminal command

97 Views Asked by At

I am using ZendFramwork3, i'm new in this so don't know how to autoload the module after creation without terminal command.

I am creating module with programme just by taking module name from the user the following things will be done : - Module structure for new module with namespace and controller & view files will be placed under module folder - ModuleName is initialised in modules.config.php in config folder - Also entry in composer.json in autoload --> psr-4 initialisation done

After that i have to manually run the command "composer dump-autoload" to perfectly work my module but i don't want to do that manually rather i want solution for that to run it programmatically.

Thank you for the solution in advance.

0

There are 0 best solutions below