Compatible service provider with older version of PHP