Doctrine Migrations vs SchemaHero
Doctrine Migrations
doctrine-project.orgSchemaHero
schemahero.ioSide by side
| Figure | Doctrine Migrations | SchemaHero |
|---|---|---|
| Price from | Free | — |
| Free plan | Yes | — |
| Free trial | — | — |
| Open source | — | — |
| Web | — | Yes |
| Windows | — | Yes |
| macOS | — | Yes |
| Linux | Yes | Yes |
| Self-hosted | Yes | Yes |
| Plans published | 1 | 0 |
| Spec score · Database Migration Tools | 8.5 (#6) | 7.4 (#24) |
| Installation | The library can be installed with Composer or downloaded as a PHAR from GitHub releases. | SchemaHero is distributed as a single binary for macOS, Linux and Windows, and is also available as a Docker image. |
| License | The GitHub repository identifies the project as MIT licensed. | The GitHub repository is licensed under Apache-2.0. |
| Purpose | Doctrine Migrations adds database schema versioning and helps deploy schema changes. | SchemaHero is an open-source database schema migration tool that converts schema definitions into migration scripts. |
| Support | The documentation directs users to the Doctrine mailing list, Slack, GitHub bug reporting, and Stack Overflow for help. | The project directs users to a Replicated Community forum and the #schemahero channel in Kubernetes Slack. |
Plans
In their own words
Doctrine Migrations
Doctrine Migrations is a free, self-hosted PHP library for versioning database schemas and deploying changes in a reviewable, testable way. Built on Doctrine DBAL and ORM, it can generate migration code by comparing a database schema with ORM mapping information, with documentation covering diffing with or without the ORM. Console commands show migration status, perform dry runs, execute one or more migrations, and revert changes. Generated SQL can be written to a file with --write-sql instead of applied directly, while --no-interaction supports unattended execution. Transaction controls cover all-or-nothing behavior and running with or without transactions. Install it through Composer, which provides a doctrine-migrations console application, or download a PHAR from GitHub releases. Doctrine lists integrations for Symfony, Zend, Laravel, Silex, and Nette. Version 3.9.8 is stable; 3.8 and earlier are unmaintained.
SchemaHero
SchemaHero has no write-up on Specifiction yet; its figures are above.