Using cwd as base. Index.php must chdir to the root dir (where vendor is)