init A application based yaf framework,using Oauth2.0 STEP 1 install yaf extension STEP 2 composer require bshaffer/oauth2-server-php "~1.8"