Download the PHP package pagemachine/typo3-phinx without Composer
On this page you can find all versions of the php package pagemachine/typo3-phinx. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download pagemachine/typo3-phinx
More information about pagemachine/typo3-phinx
Files in pagemachine/typo3-phinx
Package typo3-phinx
Short Description Phinx integration for TYPO3
License GPL-3.0-or-later
Informations about the package typo3-phinx
Phinx integration for TYPO3 
This package provides a integration of the Phinx database migration tool for TYPO3.
All Phinx commands have been wrapped as phinx:<command> and can be executed using the TYPO3 CLI:
Notice that these wrapper commands are executed by TYPO3, thus the full API like DataHandler can be used in migrations.
Migrations
The following paths are used for migrations:
migrations/phinxvendor/*/*/Migrations/Phinxvendor/*/*/Classes/Migrations/Phinx
Examples to create a migration in a TYPO3 project:
typo3 phinx:create --path packages/provider/Classes/Migrations/Phinx MyMigration
Note
If one Migrations directory exists already, you can omit --path.
However, should multiple exist, you will receive a prompt and have to select
the desired location.
Seeds
The following paths are used for seeds:
migrations/phinx/seedsvendor/*/*/Migrations/Phinx/Seedsvendor/*/*/Classes/Migrations/Phinx/Seeds
Examples to create a seed in a TYPO3 project:
typo3 phinx:seed:create --path packages/provider/Classes/Migrations/Phinx/Seed MySeeder
Note
If one Migrations/Seed directory exists already, you can omit --path.
However, should multiple exist, you will receive a prompt and have to select
the desired location.
Testing
All tests can be executed with the shipped Docker Compose definition:
docker compose run --rm app composer buildAll versions of typo3-phinx with dependencies
doctrine/dbal Version ^3.0 || ^4.0
robmorgan/phinx Version >= 0.11.0 < 1.0
symfony/console Version ^6.4 || ^7.0
typo3/cms-core Version ^13.4 || ^14.2