PHPackages                             sergiohermes/laminas-oauth2-doctrine-mutatetablenames - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. sergiohermes/laminas-oauth2-doctrine-mutatetablenames

ActiveLibrary[Database &amp; ORM](/categories/database)

sergiohermes/laminas-oauth2-doctrine-mutatetablenames
=====================================================

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

1.0.0(5y ago)15.0k1MITPHPPHP ^7.3

Since Sep 2Pushed 5y ago1 watchersCompare

[ Source](https://github.com/sergiohermes/laminas-oauth2-doctrine-mutatetablenames)[ Packagist](https://packagist.org/packages/sergiohermes/laminas-oauth2-doctrine-mutatetablenames)[ RSS](/packages/sergiohermes-laminas-oauth2-doctrine-mutatetablenames/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (2)Dependencies (7)Versions (3)Used By (0)

Mutate tablename for Laminas API Tools OAuth2 Doctrine Adapter
==============================================================

[](#mutate-tablename-for-laminas-api-tools-oauth2-doctrine-adapter)

About
-----

[](#about)

This module allows to configure the tables that the [OAuth2 Doctrine Adapter](https://github.com/API-Skeletons/oauth2-doctrine) for [Laminas API Tools](https://api-tools.getlaminas.org/) generates.

Installation
------------

[](#installation)

Installation of this module uses composer. For composer documentation, please refer to [getcomposer.org](http://getcomposer.org/).

```
$ composer require sergiohermes/laminas-oauth2-doctrine-mutatetablenames
```

Add this module to your application's configuration:

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

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
---------

[](#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!*

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 82.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~93 days

Total

2

Last Release

2030d ago

Major Versions

0.0.1 → 1.0.02020-12-05

PHP version history (2 changes)0.0.1PHP ^5.5 || ^7.0

1.0.0PHP ^7.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/e2fb67d96c851f3d2713ce93caf7b67cc16fcfd3542bb0980af82640ad550280?d=identicon)[sergiohermes](/maintainers/sergiohermes)

---

Top Contributors

[![basz](https://avatars.githubusercontent.com/u/143068?v=4)](https://github.com/basz "basz (47 commits)")[![sergiohermes](https://avatars.githubusercontent.com/u/1915564?v=4)](https://github.com/sergiohermes "sergiohermes (5 commits)")[![anx-mr](https://avatars.githubusercontent.com/u/6470411?v=4)](https://github.com/anx-mr "anx-mr (1 commits)")[![jguittard](https://avatars.githubusercontent.com/u/5320213?v=4)](https://github.com/jguittard "jguittard (1 commits)")[![renatopeterman](https://avatars.githubusercontent.com/u/2411367?v=4)](https://github.com/renatopeterman "renatopeterman (1 commits)")[![i-xperts](https://avatars.githubusercontent.com/u/6347655?v=4)](https://github.com/i-xperts "i-xperts (1 commits)")[![gulerGTS](https://avatars.githubusercontent.com/u/159452110?v=4)](https://github.com/gulerGTS "gulerGTS (1 commits)")

---

Tags

doctrineoauth2laminas-api-tools

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/sergiohermes-laminas-oauth2-doctrine-mutatetablenames/health.svg)

```
[![Health](https://phpackages.com/badges/sergiohermes-laminas-oauth2-doctrine-mutatetablenames/health.svg)](https://phpackages.com/packages/sergiohermes-laminas-oauth2-doctrine-mutatetablenames)
```

###  Alternatives

[doctrine/doctrine-orm-module

Laminas Module that provides Doctrine ORM functionality

4417.5M296](/packages/doctrine-doctrine-orm-module)[doctrine/doctrine-mongo-odm-module

Laminas Module which provides Doctrine MongoDB ODM functionality

82685.4k35](/packages/doctrine-doctrine-mongo-odm-module)[doctrine/doctrine-laminas-hydrator

Doctrine hydrators for Laminas applications

373.0M23](/packages/doctrine-doctrine-laminas-hydrator)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
