Comparison

Doctrine vs TypeORM

On the evidence we track, TypeORM leads this comparison with a composite score of 73/100. Scores are only directly comparable because these tools share a category; the full breakdown and every source is below.

Machine formatsMarkdownJSONGraphQLMarkdown is open. JSON and GraphQL need a free key.
Doctrine65
★TypeORM73
Score
vioscaleAI score
Doctrine65 / 100low · 48%
TypeORM73 / 100medium · 69%
Pricing
Free tier
Doctrine✓
TypeORM✓
Model
Doctrinecommercial
Price level
Doctrinefree
TypeORMfree
Transparent
Doctrine✓
TypeORM✓
Integrations
Count
Doctrine20
TypeORM–
Reliability
Status page
Doctrine–
TypeORM✓
Adoption
Dependent repos
Doctrine87,805
TypeORM51,340
Github stars
Doctrine10,168
TypeORM36,677
Package downloads weekly
Doctrine–
TypeORM7,344,825
Activity
Commits last 30d
Doctrine100
TypeORM20
Release
Cadence days
Doctrine4
TypeORM35
History
Doctrine20 items
TypeORM20 items
License
Spdx
DoctrineMIT
TypeORMMIT
Language
Primary
DoctrinePHP
TypeORMTypeScript
Market
Availability
Content
Faq
Doctrine6 items
TypeORM5 items

Capabilities

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

Core
Type-safe queries
Doctrine-
TypeORM✓
Schema migrations
Doctrine✓
TypeORM✓
Relations / joins API
Doctrine✓
TypeORM✓
Languages
DoctrinePHP
TypeORMTypeScript, JavaScript (ES2023)
Modelling
Schema-first modelling
Doctrine-
TypeORM✓
Flexibility
Raw SQL escape hatch
Doctrine✓
TypeORM✓
Portability
Multiple database backends
Doctrine✓
TypeORM✓
Ops
Connection pooling
Doctrine-
TypeORM✓
DX
Data browser / studio
Doctrine-
TypeORM-

What each one is

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

Doctrine

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

Independently observed

TypeORM

Leader

A database framework that operates on Node.js, in browsers, and on mobile platforms, designed to support applications of any size using multiple SQL and NoSQL databases.

Independently observed

Pricing

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

Doctrine

Open sourceFree tier
as of verify ↗

TypeORM

Leader
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
Doctrine✓
TypeORM✓
iOS
Doctrine✗
TypeORM✓
Android
Doctrine✗
TypeORM✓
macOS
Doctrine✗
TypeORM✓
Windows
Doctrine✗
TypeORM✓
Linux
Doctrine✗
TypeORM✓
CLI
Doctrine✓
TypeORM✓
Deployment
Cloud / SaaS
Doctrine✗
TypeORM✓
Self-hosted
Doctrine✓
TypeORM✓
On-premise
Doctrine✗
TypeORM✓
Hybrid
Doctrine✗
TypeORM✓
Air-gapped
Doctrine✗
TypeORM✓

Integrations

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

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

TypeORM

Leader

Not documented yet.

Still deciding?

Doctrine or TypeORM: 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.