a php framework for website connection to glass mirror api