Building a simple PHP class library when reading the WeChat Public Platform official documents.