Tweak comment
Hash is now computed with the actual configuration
Split Bash into modules for easier handling
Get required PHP version from the composer.json file if possible