PHP: Implement Team Api part, needs proper testing though

Signed-off-by: Frca <killerfrca@gmail.com>