change php module dependency: use before and subscribe