Added autoload to composer.json and php version and extension requires