Use composer.json for detecting extensions