Add dependencies to recommended-php and optional-php