Comparison

Doctrine vs Kysely

On the evidence we track, Kysely leads this comparison with a composite score of 74/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.
Doctrine62
★Kysely74
Score
vioscaleAI score
Doctrine62 / 100medium · 50%
Kysely74 / 100high · 78%
Pricing
Free tier
Doctrine✓
Kysely✓
Model
Price level
Doctrinefree
Kyselyfree
Transparent
Doctrine✓
Kysely✓
Integrations
Count
Doctrine20
Kysely21
Adoption
Dependent repos
Doctrine87,805
Kysely1,155
Github stars
Doctrine10,165
Kysely14,269
Package downloads weekly
Doctrine–
Activity
Commits last 30d
Doctrine29
Kysely59
Release
Cadence days
Doctrine6
Kysely10
History
Doctrine20 items
Kysely20 items
License
Spdx
DoctrineMIT
KyselyMIT
Language
Primary
DoctrinePHP
Market
Availability
Kysely–
Content
Faq
Doctrine6 items
Kysely6 items

Capabilities

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

Core
Type-safe queries
Doctrine-
Kysely✓
Schema migrations
Doctrine✓
Kysely✓
Relations / joins API
Doctrine✓
Kysely✓
Languages
DoctrinePHP
KyselyTypeScript, JavaScript (Node, Deno, Bun, Cloudflare Workers, browsers)
Modelling
Schema-first modelling
Doctrine-
Kysely✓
Flexibility
Raw SQL escape hatch
Doctrine✓
Kysely✓
Portability
Multiple database backends
Doctrine✓
Kysely✓
Ops
Connection pooling
Doctrine-
Kysely✗
DX
Data browser / studio
Doctrine-
Kysely✗

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

Kysely

Leader

A JavaScript and TypeScript SQL query builder that provides compile-time type safety and database schema validation. It works across multiple runtimes (Node, Deno, Bun, Cloudflare Workers, browsers) with zero runtime dependencies and emphasizes composable, type-safe queries over higher-level abstractions.

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 ↗

Kysely

Leader
Open sourceFree tier

Completely free and open source (MIT license)

as of verify ↗

Platform & deployment

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

Platforms
Web
Doctrine✓
Kysely✓
CLI
Doctrine✓
Kysely✗
Deployment
Cloud / SaaS
Doctrine✗
Kysely✓
Self-hosted
Doctrine✓
Kysely✓

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

Kysely

Leader
25 total
  • Supabase
  • Cursor
  • Windsurf
  • GitHub Copilot
  • ChatGPT
  • Claude
  • Claude Code
  • AirTrail
  • AWS Blocks
  • Conar
  • EmbedPDF
  • Hot Updater
  • inlang
  • Notesnook
  • OpenClaw
  • Reflect
  • Sink
  • Stacks
  • StudioCMS
  • Tunarr
  • ZenStack
  • PostgreSQL
  • MySQL
  • SQLite
  • +1 more
Independently observed
Still deciding?

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