add based php resources