Scans composer dependencies and generates an autoload.php file to be loaded by an external application.