use thinkphp framework and webchat sample to create webapp based on webchat