Gather dependencies a bit earlier for PhpSite.