A-Select agent library in php