# Doctrine vs Ent

**Leader by Vioscale score:** Doctrine

| Attribute | Doctrine | Ent |
|---|---|---|
| **Vioscale score** | 67.2 (54% (medium)) | 43 (50% (medium)) |
| activity.commits_last_30d | 10 | 0 |
| adoption.dependent_repos | 87,805 | 808 |
| adoption.github_stars | 10,169 | 17,173 |
| deployment.options | `{"self_hosted":true}` | `{"self_hosted":true}` |
| description.long | 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. | An open-source Go framework that lets developers define database schemas as Go code and automatically generates type-safe query builders. It supports multiple SQL and graph databases, schema migrations, and complex data model traversal. |
| features.capabilities | `{"raw_sql":true,"multi_db":true,"languages":"PHP","relations":true,"migrations":true}` | `{"multi_db":true,"languages":"Go","relations":true,"migrations":true,"schema_first":true,"type_safe_queries":true}` |
| integrations.count | 20 | 1 |
| integrations.list | `[{"name":"Symfony"},{"name":"Drupal"},{"name":"Laravel"},{"name":"Laminas"},{"name":"API Platform"},{"name":"eZ Platform"},{"name":"Akeneo PIM"},{"name":"Pimcore"},{"name":"Sylius"},{"name":"Shopware"},{"name":"Contao"},{"name":"Oxid eShop"},{"name":"PrestaShop"},{"name":"TYPO3"},{"name":"Sonata Project"},{"name":"JMS Libraries"},{"name":"Go! AOP"},{"name":"KNP Labs"},{"name":"PHPUnit"},{"name":"phpbench"}]` | `[{"name":"GraphQL"}]` |
| language.primary | PHP | Go |
| license.spdx | MIT | Apache-2.0 |
| market.availability | `{"primaryMarkets":[],"availabilityScope":"global","availableCountries":[],"notAvailableCountries":[]}` | - |
| platform.support | `{"cli":true,"web":true}` | `{"cli":true}` |
| pricing | `{"type":"open_source","freeTier":true,"sourceUrl":"https://www.doctrine-project.org/","retrievedAt":"2026-08-14T08:35:07.074Z"}` | `{"type":"open_source","summary":"Open source, free","freeTier":true,"sourceUrl":"https://entgo.io","retrievedAt":"2026-08-14T08:31:32.117Z"}` |
| pricing.free_tier | yes | yes |
| pricing.model | commercial | open_source |
| pricing.price_level | free | free |
| pricing.transparent | yes | yes |
| release.cadence_days | 2 | 34 |
| release.history | `[{"url":"https://github.com/doctrine/orm/releases/tag/3.6.8","date":"2026-08-05T19:06:31Z","type":"stable","version":"3.6.8"},{"url":"https://github.com/doctrine/orm/releases/tag/3.6.7","date":"2026-05-25T16:53:47Z","type":"stable","version":"3.6.7"},{"url":"https://github.com/doctrine/orm/releases/tag/2.20.13","date":"2026-05-25T16:47:26Z","type":"stable","version":"2.20.13"},{"url":"https://github.com/doctrine/orm/releases/tag/3.6.6","date":"2026-05-21T06:09:26Z","type":"stable","version":"3.6.6"},{"url":"https://github.com/doctrine/orm/releases/tag/3.6.5","date":"2026-05-11T06:48:56Z","type":"stable","version":"3.6.5"},{"url":"https://github.com/doctrine/orm/releases/tag/2.20.12","date":"2026-05-08T11:19:50Z","type":"stable","version":"2.20.12"},{"url":"https://github.com/doctrine/orm/releases/tag/3.6.4","date":"2026-05-07T20:22:28Z","type":"stable","version":"3.6.4"},{"url":"https://github.com/doctrine/orm/releases/tag/2.20.11","date":"2026-05-07T20:18:17Z","type":"stable","version":"2.20.11"},{"url":"https://github.com/doctrine/orm/releases/tag/3.6.3","date":"2026-04-02T06:54:32Z","type":"stable","version":"3.6.3"},{"url":"https://github.com/doctrine/orm/releases/tag/2.20.10","date":"2026-04-02T06:20:37Z","type":"stable","version":"2.20.10"},{"url":"https://github.com/doctrine/orm/releases/tag/3.6.2","date":"2026-01-30T21:43:07Z","type":"stable","version":"3.6.2"},{"url":"https://github.com/doctrine/orm/releases/tag/3.6.1","date":"2026-01-09T06:44:11Z","type":"stable","version":"3.6.1"},{"url":"https://github.com/doctrine/orm/releases/tag/3.6.0","date":"2025-12-19T20:41:15Z","type":"stable","version":"3.6.0"},{"url":"https://github.com/doctrine/orm/releases/tag/3.5.8","date":"2025-11-29T23:12:27Z","type":"stable","version":"3.5.8"},{"url":"https://github.com/doctrine/orm/releases/tag/2.20.9","date":"2025-11-29T23:12:35Z","type":"stable","version":"2.20.9"},{"url":"https://github.com/doctrine/orm/releases/tag/3.5.7","date":"2025-11-11T18:29:24Z","type":"stable","version":"3.5.7"},{"url":"https://github.com/doctrine/orm/releases/tag/3.5.6","date":"2025-11-10T21:12:30Z","type":"stable","version":"3.5.6"},{"url":"https://github.com/doctrine/orm/releases/tag/3.5.5","date":"2025-11-10T20:27:08Z","type":"stable","version":"3.5.5"},{"url":"https://github.com/doctrine/orm/releases/tag/3.5.4","date":"2025-11-10T20:23:35Z","type":"stable","version":"3.5.4"},{"url":"https://github.com/doctrine/orm/releases/tag/2.20.8","date":"2025-11-10T20:24:32Z","type":"stable","version":"2.20.8"}]` | `[{"url":"https://github.com/ent/ent/releases/tag/v0.14.6","date":"2026-03-23T19:56:46Z","type":"stable","version":"v0.14.6"},{"url":"https://github.com/ent/ent/releases/tag/v0.14.0","date":"2024-07-29T04:28:24Z","type":"stable","version":"v0.14.0"},{"url":"https://github.com/ent/ent/releases/tag/v0.12.5","date":"2023-11-13T18:08:11Z","type":"stable","version":"v0.12.5"},{"url":"https://github.com/ent/ent/releases/tag/v0.11.0","date":"2022-07-13T14:03:14Z","type":"stable","version":"v0.11.0"},{"url":"https://github.com/ent/ent/releases/tag/v0.10.1","date":"2022-03-04T20:59:41Z","type":"stable","version":"v0.10.1"},{"url":"https://github.com/ent/ent/releases/tag/v0.10.0","date":"2022-01-20T21:14:25Z","type":"stable","version":"v0.10.0"},{"url":"https://github.com/ent/ent/releases/tag/v0.9.1","date":"2021-08-17T09:55:22Z","type":"stable","version":"v0.9.1"},{"url":"https://github.com/ent/ent/releases/tag/v0.9.0","date":"2021-08-05T18:48:18Z","type":"stable","version":"v0.9.0"},{"url":"https://github.com/ent/ent/releases/tag/v0.8.0","date":"2021-04-14T20:04:11Z","type":"stable","version":"v0.8.0"},{"url":"https://github.com/ent/ent/releases/tag/v0.7.0","date":"2021-03-11T18:45:46Z","type":"stable","version":"v0.7.0"},{"url":"https://github.com/ent/ent/releases/tag/v0.6.0","date":"2021-02-02T21:19:58Z","type":"stable","version":"v0.6.0"},{"url":"https://github.com/ent/ent/releases/tag/v0.5.4","date":"2021-01-06T14:05:16Z","type":"stable","version":"v0.5.4"},{"url":"https://github.com/ent/ent/releases/tag/v0.5.3","date":"2020-12-13T17:38:56Z","type":"stable","version":"v0.5.3"},{"url":"https://github.com/ent/ent/releases/tag/v0.5.2","date":"2020-12-11T11:48:19Z","type":"stable","version":"v0.5.2"},{"url":"https://github.com/ent/ent/releases/tag/v0.5.1","date":"2020-11-29T10:51:12Z","type":"stable","version":"v0.5.1"},{"url":"https://github.com/ent/ent/releases/tag/v0.5.0","date":"2020-11-04T07:21:37Z","type":"stable","version":"v0.5.0"},{"url":"https://github.com/ent/ent/releases/tag/v0.4.3","date":"2020-09-21T13:20:56Z","type":"stable","version":"v0.4.3"},{"url":"https://github.com/ent/ent/releases/tag/v0.4.2","date":"2020-08-30T14:54:27Z","type":"stable","version":"v0.4.2"},{"url":"https://github.com/ent/ent/releases/tag/v0.4.0","date":"2020-08-18T08:06:53Z","type":"stable","version":"v0.4.0"},{"url":"https://github.com/ent/ent/releases/tag/v0.3.0","date":"2020-08-05T14:54:02Z","type":"stable","version":"v0.3.0"}]` |
| security.scorecard | 6.9 | 4.6 |
| security.vulnerabilities | `{"count":3,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=packagist&package_name=doctrine%2Form&per_page=100","last_12m":0,"max_severity":"CRITICAL"}` | `{"count":0,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=go&package_name=entgo.io%2Fent&per_page=100","last_12m":0,"max_severity":null}` |

## Capabilities (ORM & Database Tools)

| Capability | Doctrine | Ent |
|---|:--:|:--:|
| **Core** |  |  |
| Type-safe queries | - | ✓ |
| Schema migrations | ✓ | ✓ |
| Relations / joins API | ✓ | ✓ |
| Languages | PHP | Go |
| **Modelling** |  |  |
| Schema-first modelling | - | ✓ |
| **Flexibility** |  |  |
| Raw SQL escape hatch | ✓ | - |
| **Portability** |  |  |
| Multiple database backends | ✓ | ✓ |
| **Ops** |  |  |
| Connection pooling | - | - |
| **DX** |  |  |
| Data browser / studio | - | - |

*Source: Vioscale. Generated 2026-09-01T16:36:55.919Z. "-" = undocumented, not absent.*
