PHPackages                             edrush/extbaser - 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. edrush/extbaser

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

edrush/extbaser
===============

Create a TYPO3 Extbase Extension from an existing database schema.

v0.2.0(10y ago)348[1 issues](https://github.com/edrush/extbaser/issues)1GPLPHPPHP &gt;= 5.4.0

Since Jul 27Pushed 8y ago1 watchersCompare

[ Source](https://github.com/edrush/extbaser)[ Packagist](https://packagist.org/packages/edrush/extbaser)[ RSS](/packages/edrush-extbaser/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (4)Used By (1)

Extbaser
========

[](#extbaser)

Create a TYPO3 Extbase Extension from an existing database schema.

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

[](#installation)

Clone or install via composer:

```
composer require edrush/extbaser

```

Usage
-----

[](#usage)

### 1. Export your database schema to a TYPO3 Extbase Extension

[](#1-export-your-database-schema-to-a-typo3-extbase-extension)

```
php bin/app.php extbaser:export dbname

```

(Connection parameters default to [Symfony best practices](http://symfony.com/doc/current/best_practices/configuration.html))

To configure your connection type:

```
php bin/app.php extbaser:export -u username -p password dbname

```

The generated extension folder contains the file **ExtensionBuilder.json**, which is the project file for the *TYPO3 Extension Builder* to scaffold your extension, see below.

### 2. Upload the extension to your TYPO3 installation

[](#2-upload-the-extension-to-your-typo3-installation)

Move the generated folder to the 'typo3conf/ext' folder of your TYPO3 installation.

### 3. Install the new extension in your TYPO3 installation

[](#3-install-the-new-extension-in-your-typo3-installation)

- Log in to your TYPO3 Backend
- Open module *Extension Builder* (if there's no such module: install it in the Extension Manager)
- Click *Load* and select your new extension key
- Adapt the extension configuration to your needs
- Click *Save*
- Activate your extension in the Extension Manager

Roundtrip
---------

[](#roundtrip)

Extbaser also supports roundtriping of TYPO3 Extbase Extensions, which means that if you update the extension with Extbaser all **Extension properties** set in the Extension Builder will remain:

- Copy the extension to a location where Extbaser can access it
- Retype the export command you used before and add the *-r* option: `php bin/app.php extbaser:export dbname target_extension_key -r --path=...` (the path variable is the parent folder of your extension folder, set it if the extension is not in your current directory)

Help
----

[](#help)

```
php bin/app.php extbaser:export --help

Usage:
  extbaser:export [options] [--]

Arguments:
  dbname                               The database you want to export

Options:
      --extension-key[=EXTENSION-KEY]  The target TYPO3 Extension key
      --path[=PATH]                    The path to export the extension to [default: "."]
  -u, --user[=USER]                    The database user [default: "root"]
  -p, --password[=PASSWORD]            The database password
      --host[=HOST]                    The database host [default: "127.0.0.1"]
      --driver[=DRIVER]                The database driver [default: "pdo_mysql"]
      --port[=PORT]                    The database port
      --filter=FILTER                  A string pattern used to match entities that should be mapped (multiple values allowed)
  -f, --force                          Override existing extension
  -r, --round-trip                     Roundtrip existing extension
  -h, --help                           Display this help message
  -q, --quiet                          Do not output any message
  -V, --version                        Display this application version
      --ansi                           Force ANSI output
      --no-ansi                        Disable ANSI output
  -n, --no-interaction                 Do not ask any interactive question
  -v|vv|vvv, --verbose                 Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

```

Links
-----

[](#links)

Extbaser works great with the TYPO3 Extension [XmTools](https://github.com/xima-media/xm_tools) to connect TYPO3 CMS to [APIs](http://xm-tools.readthedocs.org/en/master/sections/tools/restapi.html).

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 97.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 ~140 days

Total

2

Last Release

3808d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/072ec67aa5ea46587fa295c3b65ffba12549b3105e7fe076cbb5ce1099ee1a8d?d=identicon)[edrush](/maintainers/edrush)

---

Top Contributors

[![edrush](https://avatars.githubusercontent.com/u/4974858?v=4)](https://github.com/edrush "edrush (39 commits)")[![nicodh](https://avatars.githubusercontent.com/u/1428457?v=4)](https://github.com/nicodh "nicodh (1 commits)")

---

Tags

databaseormextbase

### Embed Badge

![Health badge](/badges/edrush-extbaser/health.svg)

```
[![Health](https://phpackages.com/badges/edrush-extbaser/health.svg)](https://phpackages.com/packages/edrush-extbaser)
```

###  Alternatives

[scienta/doctrine-json-functions

A set of extensions to Doctrine that add support for json query functions.

58523.9M36](/packages/scienta-doctrine-json-functions)[diablomedia/doctrine1

PHP5+ Database ORM

20232.4k1](/packages/diablomedia-doctrine1)[perplorm/perpl

Perpl is an improved and still maintained fork of Propel2, an open-source Object-Relational Mapping (ORM) for PHP.

203.7k](/packages/perplorm-perpl)[mediagone/doctrine-specifications

Doctrine implementation of repository Specifications pattern

353.8k3](/packages/mediagone-doctrine-specifications)

PHPackages © 2026

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