Detect for a composer.json file aswell as index.php allows to not create empty index.php file for projects that are using Symfony, Silex and so on