Update PHP version and dependencies in composer.json