new version of php oauth2 server

You need the new version of oauth or else when requestion a token will give you the following error
{"error":"SQLSTATE[42S22]: Column not found: 1054 Unknown column 'type' in 'where clause'","code":"42S22"}
Check http://bshaffer.github.io/oauth2-server-php-docs/ for version 1.3