PHPackages                             portrino/px\_dbsequencer - 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. portrino/px\_dbsequencer

ActiveTypo3-cms-extension[Database &amp; ORM](/categories/database)

portrino/px\_dbsequencer
========================

With this extension you can ensure different unique keys for the configured tables (e.g.: pages, tt\_content)

14.0.1(1mo ago)18.0k↑124.3%GPL-2.0-or-laterPHPPHP &gt;=8.2 &lt;=8.5.99CI passing

Since Dec 14Pushed 1mo ago5 watchersCompare

[ Source](https://github.com/portrino/px_dbsequencer)[ Packagist](https://packagist.org/packages/portrino/px_dbsequencer)[ RSS](/packages/portrino-px-dbsequencer/feed)WikiDiscussions master Synced yesterday

READMEChangelog (6)Dependencies (28)Versions (30)Used By (0)

TYPO3 extension `px_dbsequencer`
================================

[](#typo3-extension-px_dbsequencer)

[![Latest Stable Version](https://camo.githubusercontent.com/d4b4bc271228d5ea3271546542de5865113f0f9ddc4faac8ae2f3ee558d38323/68747470733a2f2f706f7365722e707567782e6f72672f706f727472696e6f2f70785f646273657175656e6365722f762f737461626c65)](https://packagist.org/packages/portrino/px_dbsequencer)[![TYPO3 14](https://camo.githubusercontent.com/2154eef89c2d2c73a854a92e4e5117cf11971f3eba26340fa0f4cc8829c0e8cc/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5459504f332d31342d6f72616e67652e7376673f6c6f676f3d7479706f33)](https://get.typo3.org/version/14)[![Total Downloads](https://camo.githubusercontent.com/2664bfcbc7d74eaf810fcaba1d51c41569f2024fe206306f45d367a7c9be1829/68747470733a2f2f706f7365722e707567782e6f72672f706f727472696e6f2f70785f646273657175656e6365722f646f776e6c6f616473)](https://packagist.org/packages/portrino/px_dbsequencer)[![Monthly Downloads](https://camo.githubusercontent.com/aa4dfb6f4abb1f80aa5b66a6a9fe3447c03f4a456280ea7b533090d537d4e198/68747470733a2f2f706f7365722e707567782e6f72672f706f727472696e6f2f70785f646273657175656e6365722f642f6d6f6e74686c79)](https://packagist.org/packages/portrino/px_dbsequencer)[![CI](https://github.com/portrino/px_dbsequencer/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/portrino/px_dbsequencer/actions/workflows/ci.yml)

> Database Sequencer for TYPO3

1 Features
----------

[](#1-features)

The **PxDbsequencer** extension enables the possibility to define different unique keys for the configured tables (e.g.: pages, pages\_language\_overlay, tt\_content).

That means, you define a global identifier, e.g. per environment, and every identifier/ primary key of the configured table(s) will be sequenced in steps of a defined offset (default: 10).

So, if configure the global identifier "1" for your production system, then every configured table will have identifiers/ primary keys like 1, 11, 21, 31 and so on. For your staging system, you may define the global identifier "2", which than results in table identifiers like 2, 12, 22, 32 and so on.

In addition, every developer of the project can have his own global identifier as well. Therefor the risk of overriding data, that has to be migrated between systems (e.g. pages and content elements for a new feature), will be minimized.

2 Usage
-------

[](#2-usage)

### 2.1 Installation

[](#21-installation)

#### Installation using Composer

[](#installation-using-composer)

The **recommended** way to install the extension is using [composer](https://getcomposer.org/).

Run the following command within your Composer based TYPO3 project:

```
composer require portrino/px_dbsequencer

```

#### Installation as extension from TYPO3 Extension Repository (TER)

[](#installation-as-extension-from-typo3-extension-repository-ter)

Download and install the [extension](https://extensions.typo3.org/extension/px_dbsequencer) with the extension manager module.

### 2.2 Setup

[](#22-setup)

After finishing the installation, head over to the extension settings and set the system identifier, the offset and the tables you'd like to sequence.

The extension settings, like the system identifier, can also be configured depending on the current `TYPO3_CONTEXT` via `config/system/additional.php`

SO, a possible configuration in `config/system/settings.php` could look like:

```
return [

    ...

    'EXTENSIONS' => [

        ...

        'px_dbsequencer' => [
            'offset' => 10,
            'system' => 1,
            'tables' => 'be_groups,be_users,pages,sys_category,sys_template,tt_content',
        ],

        ...

    ],

    ...

];

```

and in `config/system/additional.php` could be something like:

```
// contextual environment settings
$applicationContext = \TYPO3\CMS\Core\Utility\GeneralUtility::trimExplode(
    '/',
    \TYPO3\CMS\Core\Core\Environment::getContext(),
    true
);

switch ($applicationContext[0]) {
    case 'Development':
        switch ($applicationContext[1]) {
            case 'Staging':
                // TYPO3_CONTEXT: Development/Staging
                $GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS']['px_dbsequencer']['system'] = 2;
                break;
            case 'Local':
                // TYPO3_CONTEXT: Development/Local
                $GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS']['px_dbsequencer']['system'] = 3;
                break;
        }
        break;
    case 'Production':
        $GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS']['px_dbsequencer']['system'] = 1;
        break;
}

```

3 Compatibility
---------------

[](#3-compatibility)

PxDbsequencerTYPO3PHPSupport / Development14.x14.x8.2 - 8.5features, bugfixes, security updates13.x13.48.2 - 8.3features, bugfixes, security updates0.12.x12.48.1 - 8.2bugfixes, security updates0.11.x11.57.4 - 8.1none0.10.x10.47.2 - 7.4none0.9.x9.57.2 - 7.4none0.7.x8.77.0 - 7.4none0.6.x7.65.5 - 7.3none4 Authors
---------

[](#4-authors)

- See the list of [contributors](https://github.com/portrino/px_dbsequencer/graphs/contributors) who participated in this project.

###  Health Score

59

—

FairBetter than 98% of packages

Maintenance90

Actively maintained with recent releases

Popularity26

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity91

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 80.6% 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 ~181 days

Recently: every ~28 days

Total

22

Last Release

51d ago

Major Versions

0.13.0 → 13.1.02025-02-28

0.12.1 → 14.0.02026-04-21

13.x-dev → 14.0.12026-05-13

PHP version history (2 changes)0.13.0PHP ^8.2

14.0.0PHP &gt;=8.2 &lt;=8.5.99

### Community

Maintainers

![](https://www.gravatar.com/avatar/03867e1d2497d7cb7feb932fb301387e143503bfd17c584ef90347b3d7942cf1?d=identicon)[portrino-dev](/maintainers/portrino-dev)

---

Top Contributors

[![EvilBMP](https://avatars.githubusercontent.com/u/540478?v=4)](https://github.com/EvilBMP "EvilBMP (50 commits)")[![tgriessbach](https://avatars.githubusercontent.com/u/11647324?v=4)](https://github.com/tgriessbach "tgriessbach (11 commits)")[![aWuttig](https://avatars.githubusercontent.com/u/726519?v=4)](https://github.com/aWuttig "aWuttig (1 commits)")

###  Code Quality

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/portrino-px-dbsequencer/health.svg)

```
[![Health](https://phpackages.com/badges/portrino-px-dbsequencer/health.svg)](https://phpackages.com/packages/portrino-px-dbsequencer)
```

###  Alternatives

[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

103519.9k53](/packages/friendsoftypo3-content-blocks)[b13/container

Container Content Elements - Create Custom Container Content Elements for TYPO3

1833.4M109](/packages/b13-container)[netresearch/rte-ckeditor-image

Image support in CKEditor for the TYPO3 ecosystem - by Netresearch

611.1M8](/packages/netresearch-rte-ckeditor-image)[wazum/sluggi

TYPO3 extension for URL slug management with inline editing, auto-sync, locking, access control, and redirects

40529.5k](/packages/wazum-sluggi)[typo3/cms-redirects

TYPO3 CMS Redirects - Create manual redirects, list existing redirects and automatically createredirects on slug changes.

167.4M80](/packages/typo3-cms-redirects)[pagemachine/typo3-formlog

Form log for TYPO3

23238.6k8](/packages/pagemachine-typo3-formlog)

PHPackages © 2026

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