add custom PHP tools class