Comparison

Alembic vs Doctrine

No clear leader: Doctrine (62.0) and Alembic (60.8) are within the 5-point margin; treat as a tie. The attribute-by-attribute breakdown below, with a source and date on every value, is the honest way to compare them.

Machine formatsMarkdownJSONGraphQLMarkdown is open. JSON and GraphQL need a free key.
Alembic61
Doctrine62
Score
vioscaleAI score
Alembic61 / 100low · 42%
Doctrine62 / 100medium · 50%
Pricing
Free tier
Alembic✓
Doctrine✓
Model
Doctrineopen_source
Price level
Alembicfree
Doctrinefree
Transparent
Alembic–
Doctrine✓
Integrations
Count
Alembic–
Doctrine20
Adoption
Dependent repos
Alembic52,456
Doctrine87,805
Github stars
Alembic4,444
Doctrine10,165
Activity
Commits last 30d
Alembic18
Doctrine29
Release
Cadence days
Alembic17
Doctrine6
History
Alembic20 items
Doctrine20 items
License
Spdx
AlembicMIT
DoctrineMIT
Language
Primary
AlembicPython
DoctrinePHP
Market
Availability
Alembic–
Content
Faq
Alembic4 items
Doctrine6 items

Capabilities

Feature-by-feature on the axes that matter for orm & database tools. “-” means undocumented, not absent.

Core
Type-safe queries
Alembic-
Doctrine-
Schema migrations
Alembic✓
Doctrine✓
Relations / joins API
Alembic✓
Doctrine✓
Languages
AlembicPython
DoctrinePHP
Modelling
Schema-first modelling
Alembic✓
Doctrine-
Flexibility
Raw SQL escape hatch
Alembic✓
Doctrine✓
Portability
Multiple database backends
Alembic✓
Doctrine✓
Ops
Connection pooling
Alembic-
Doctrine-
DX
Data browser / studio
Alembic-
Doctrine-

What each one is

The product in its own terms, so the numbers below have context.

Alembic

A framework for creating, managing, and applying database schema changes in Python applications, with support for automatic migration detection, multiple database backends, and both scripted and programmatic workflows.

Independently observed

Doctrine

PHP libraries for building database-driven applications with support for object-relational mapping and database abstraction.

Independently observed

Pricing

List pricing as published by each vendor, with the date we read it. Always verify at the source before you buy.

Alembic

Open sourceFree tier
as of verify ↗

Doctrine

Open sourceFree tier
as of verify ↗

Platform & deployment

Where each product runs and how it can be hosted. A dash means undocumented, not unsupported.

Platforms
Web
Alembic✗
Doctrine✓
CLI
Alembic✓
Doctrine✓
Deployment
Self-hosted
Alembic–
Doctrine✓

Integrations

What each product connects to. Counts come from the vendor's own integration directory where one exists.

Alembic

Not documented yet.

Doctrine

20 total
  • Symfony
  • Drupal
  • Laravel
  • Laminas
  • API Platform
  • eZ Platform
  • Akeneo PIM
  • Pimcore
  • Sylius
  • Shopware
  • Contao
  • Oxid eShop
  • PrestaShop
  • TYPO3
  • Sonata Project
  • JMS Libraries
  • Go! AOP
  • KNP Labs
  • PHPUnit
  • phpbench
Independently observed
Still deciding?

Alembic or Doctrine: which one depends on you

A composite score cannot know your constraints. Describe them and both get re-weighted against what you actually need, with the evidence behind every position.

Free to run, no account needed to start. How the evaluation works

Comparison generated from independently-sourced facts. Every value links to its source and retrieval date. See the method.