When we consider the Zend Framework 2 structure, we must be aware that Zend Framework 2 doesn't actually care how our directory structure looks like, as long as we tell Zend Framework 2 in our configuration where all the paths can be found.
In the skeleton application we see that our configuration can be found in the
config/application.config.php file. But that file solely exists there because in the
public/index.php it is being loaded. If we, for example, want to change the location of that configuration file to somewhere else, we (in this case) only need to change it in the
public/index.php file. The same goes for the module and vendor directory, as these can be anywhere we like, as long as we tell the