This package is abandoned and no longer maintained. The author suggests using the api-skeletons/oauth2-doctrine package instead.

Doctrine OAuth2 Server Adapter for Apigility


Build Status Documentation Status Gitter Patreon Total Downloads

This provides a Doctrine adapter for zfcampus/zf-mvc-auth and zfcampus/zf-oauth2 and entity definitions for all aspects of OAuth2 including Authorization Code, Access Tokens, Refresh Tokens, JWT & JTI, and Scopes.


  • 1.x series is for PHP 5.5 to 7.0.
  • 2.x series is for PHP 7.1 onward.
  • 3.x series is for PHP 7.1 onward and uses bigint instead of integer, scope fixture, and bcrypt cost of 10.

Entity Relationship Diagram Entity Relationship Diagram created with Skipper

Read The Documentation