Comparison

Doctrine vs sqlc

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

Machine formatsJSONMarkdownGraphQLor send Accept: application/json
Doctrine67
sqlc51
Score
Vioscale score
Doctrine67 / 100medium · 54%updating
sqlc51 / 100low · 43%updating
Pricing
Free tier
Doctrine
sqlc
Model
Price level
Doctrinefree
sqlcfree
Transparent
Doctrine
sqlc
Integrations
Count
Doctrine20
sqlc
Adoption
Dependent repos
Doctrine87,805
sqlc1
Github stars
Doctrine10,169
sqlc18,202
Activity
Commits last 30d
Doctrine10
sqlc39
Release
Cadence days
Doctrine2
sqlc42
History
Doctrine20 items
License
Spdx
DoctrineMIT
sqlcMIT
Language
Primary
DoctrinePHP
sqlcGo
Market
Availability
sqlc

Capabilities

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

Core
Type-safe queries
Doctrine-
sqlc
Schema migrations
Doctrine
sqlc-
Relations / joins API
Doctrine
sqlc-
Languages
DoctrinePHP
sqlcGo; community support for Python
Modelling
Schema-first modelling
Doctrine-
sqlc
Flexibility
Raw SQL escape hatch
Doctrine
sqlc
Portability
Multiple database backends
Doctrine
sqlc
Ops
Connection pooling
Doctrine-
sqlc-
DX
Data browser / studio
Doctrine-
sqlc

What each one is

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

Doctrine

Leader

Doctrine provides PHP developers with both high-level object-oriented database tools and low-level direct SQL access. The core includes an Object Relational Mapper for complex data modeling and a Database Abstraction Layer for flexible database interaction.

Independently observed

sqlc

An open-source code generator that produces type-safe application code from raw SQL queries, supporting PostgreSQL, MySQL, SQLite, and ClickHouse 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

Leader
Open sourceFree tier
as of verify ↗

sqlc

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
sqlc
CLI
Doctrine
sqlc
Deployment
Self-hosted
Doctrine
sqlc

Integrations

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

Doctrine

Leader
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

sqlc

Not documented yet.

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