定制 bushbaby/zf-oauth2-doctrine-mutatetablenames 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

bushbaby/zf-oauth2-doctrine-mutatetablenames

最新稳定版本:2.0.0

Composer 安装命令:

composer require bushbaby/zf-oauth2-doctrine-mutatetablenames

包简介

Module for Laminas API Tools's Doctrine OAuth2 Server Adapter so table names can be configured

README 文档

README

About

^2.0 This module allows to configure the tables that the OAuth2 Doctrine Adapter for Laminas API Tools generates.

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

^0.0 This module allows to configure the tables that the OAuth2 Doctrine Adapter for Apigility generates.

Latest Stable Version Total Downloads Latest Unstable Version Coverage Status License

Installation

Installation of this module uses composer. For composer documentation, please refer to getcomposer.org.

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

Add this module to your application's configuration:

'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

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

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

When satisfied run this command to actually modify your database

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.

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!

统计信息

  • 总下载量: 69.29k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 3
  • 依赖项目数: 1
  • 推荐数: 3

GitHub 信息

  • Stars: 2
  • Watchers: 3
  • Forks: 6
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2015-05-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固