add sample-AI in PHP