2017 © Pedro Peláez
 

library zf-oauth2-doctrine-mutatetablenames

Module for Apigility's Doctrine OAuth2 Server Adapter so table names can be configured

image

bushbaby/zf-oauth2-doctrine-mutatetablenames

Module for Apigility's Doctrine OAuth2 Server Adapter so table names can be configured

  • Tuesday, March 13, 2018
  • by bushbaby
  • Repository
  • 2 Watchers
  • 1 Stars
  • 17,189 Installations
  • PHP
  • 1 Dependents
  • 2 Suggesters
  • 4 Forks
  • 0 Open issues
  • 9 Versions
  • 16 % Grown

The README.md

Mutate tablename for Apigility/Laminas API Tools OAuth2 Doctrine Adapter

About

^2.0 This module allows to configure the tables that the OAuth2 Doctrine Adapter for Laminas API Tools generates., (*1)

^1.0 This module allows to configure the tables that the Fork OAuth2 Doctrine Adapter for Laminas API Tools generates., (*2)

^0.0 This module allows to configure the tables that the OAuth2 Doctrine Adapter for Apigility generates., (*3)

Latest Stable Version Total Downloads Latest Unstable Version Coverage Status License, (*4)

Installation

Installation of this module uses composer. For composer documentation, please refer to getcomposer.org., (*5)

$ composer require bushbaby/zf-oauth2-doctrine-mutatetablenames

Add this module to your application's configuration:, (*6)

'modules' => array(
   ...
   'ZF\OAuth2\Doctrine\MutateTableNames',
),

Configuration

Copy config/oauth2.doctrine-orm.mutatetablenames.global.php.dist to your autoload directory and rename to oauth2.doctrine-orm.mutatetablenames.global.php, (*7)

Edit the appropriate values to customize table names. This module considers the usage of the configured doctrine event manager., (*8)

Migration

You should be able to review the changes with the following command, (*9)

php public/index.php orm:schema-tool:update --dump-sql

When satisfied run this command to actually modify your database, (*10)

php public/index.php orm:schema-tool:update --force

Now you should manually copy the relevant information to the new tables. Old tables are not removed unless you specify the '--complete' flag., (*11)

WARNING: Will find any difference between the doctrine managed entities and the schema found in the database, not just the ones regarding the table name changes!, (*12)

The Versions

13/03 2018

dev-master

9999999-dev

Module for Apigility's Doctrine OAuth2 Server Adapter so table names can be configured

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

doctrine apigility oauth2

13/03 2018

0.5.1

0.5.1.0

Module for Apigility's Doctrine OAuth2 Server Adapter so table names can be configured

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

doctrine apigility oauth2

19/02 2018

0.5.0

0.5.0.0

Module for Apigility's Doctrine OAuth2 Server Adapter so table names can be configured

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

doctrine apigility oauth2

01/11 2016

0.4.0

0.4.0.0

Module for Apigility's Doctrine OAuth2 Server Adapter so table names can be configured

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

doctrine apigility oauth2

27/06 2016

0.3.0

0.3.0.0

Module for Apigility's Doctrine OAuth2 Server Adapter so table names can be configured

  Sources   Download

BSD-3-Clause

The Requires

 

doctrine apigility oauth2

24/12 2015

0.2.2

0.2.2.0

Module for Apigility's Doctrine OAuth2 Server Adapter so table names can be configured

  Sources   Download

BSD-3-Clause

The Requires

 

doctrine apigility oauth2

12/06 2015

0.2.1

0.2.1.0

Module for Apigility's Doctrine OAuth2 Server Adapter so table names can be configured

  Sources   Download

BSD-3-Clause

The Requires

 

doctrine apigility oauth2

12/05 2015

0.2.0

0.2.0.0

Module for Apigility's Doctrine OAuth2 Server Adapter so table names can be configured

  Sources   Download

BSD-3-Clause

The Requires

 

doctrine apigility oauth2

12/05 2015

0.1.0

0.1.0.0

Module for Apigility's Doctrine OAuth2 Server Adapter so table names can be configured

  Sources   Download

BSD-3-Clause

The Requires

 

doctrine apigility oauth2