Download the PHP package sergiohermes/laminas-oauth2-doctrine-mutatetablenames without Composer
On this page you can find all versions of the php package sergiohermes/laminas-oauth2-doctrine-mutatetablenames. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sergiohermes/laminas-oauth2-doctrine-mutatetablenames
More information about sergiohermes/laminas-oauth2-doctrine-mutatetablenames
Files in sergiohermes/laminas-oauth2-doctrine-mutatetablenames
Package laminas-oauth2-doctrine-mutatetablenames
Short Description Module for Laminas API Tools Doctrine OAuth2 Server Adapter so table names can be configured custom
License MIT
Informations about the package laminas-oauth2-doctrine-mutatetablenames
Mutate tablename for Laminas API Tools OAuth2 Doctrine Adapter
About
This module allows to configure the tables that the OAuth2 Doctrine Adapter for Laminas API Tools generates.
Installation
Installation of this module uses composer. For composer documentation, please refer to getcomposer.org.
Add this module to your application's configuration:
Configuration
Copy config/oauth2.doctrine-orm.mutatetablenames.global.php.dist
to your autoload directory and rename to oauth2.doctrine-orm.mutatetablenames.global.php
Edit the appropriate values to customize table names. This module considers the usage of the configured doctrine event manager.
Migration
You should be able to review the changes with the following command
When satisfied run this command to actually modify your database
Now you should manually copy the relevant information to the new tables. Old tables are not removed unless you specify the '--complete' flag.
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!
All versions of laminas-oauth2-doctrine-mutatetablenames with dependencies
laminas/laminas-modulemanager Version ^2.7
laminas/laminas-stdlib Version ^3.0
api-skeletons/oauth2-doctrine Version ^4.0 || ^5.0
laminas/laminas-dependency-plugin Version ^2.0