PHPackages                             lapaygroup/doctrine-cockroachdb - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. lapaygroup/doctrine-cockroachdb

ActiveLibrary[Database &amp; ORM](/categories/database)

lapaygroup/doctrine-cockroachdb
===============================

Doctrine CockroachDB Driver (Symfony supports)

0.2.0(4y ago)113.9k5[2 issues](https://github.com/lapaygroup/doctrine-cockroachdb/issues)MITPHPPHP ^7.2 || ^8.0

Since Mar 1Pushed 2y ago2 watchersCompare

[ Source](https://github.com/lapaygroup/doctrine-cockroachdb)[ Packagist](https://packagist.org/packages/lapaygroup/doctrine-cockroachdb)[ RSS](/packages/lapaygroup-doctrine-cockroachdb/feed)WikiDiscussions main Synced 3d ago

READMEChangelog (6)Dependencies (1)Versions (10)Used By (0)

[![](https://camo.githubusercontent.com/eb9d201c67f874068d07e85a2d08c5b4970f4346eb664827f7ab3ca43b4200fa/68747470733a2f2f6c6170617967726f75702e72752f696d672f6c6170617967726f75702e737667)](https://lapaygroup.ru/)[![](https://camo.githubusercontent.com/674bf7420f03b0798bac049d6e762664a679e9df4f44b1eba72cece9f3435c64/68747470733a2f2f64333377756272666b69306c36382e636c6f756466726f6e742e6e65742f316331376233303533623239363436636464646335333936353138366130323137396235393834322f33656164302f696d672f636f636b726f6163686c6162732d6c6f676f2d3137302e706e67)](https://www.cockroachlabs.com/)

[![Latest Stable Version](https://camo.githubusercontent.com/9f7e93041452dff1eeb13143818c8abb741990502243d082e381ba09afcf370e/68747470733a2f2f706f7365722e707567782e6f72672f6c6170617967726f75702f646f637472696e652d636f636b726f61636864622f762f737461626c65)](https://packagist.org/packages/lapaygroup/doctrine-cockroachdb)[![Total Downloads](https://camo.githubusercontent.com/91faeaa490b145e49a4f74b6e086cc52f8fb8e15ee91ed94db522d63c143a1e2/68747470733a2f2f706f7365722e707567782e6f72672f6c6170617967726f75702f646f637472696e652d636f636b726f61636864622f646f776e6c6f616473)](https://packagist.org/packages/lapaygroup/doctrine-cockroachdb)[![License](https://camo.githubusercontent.com/04ecd5186c18be8242d432c5db04937cd3bda5400a1f11113749e65d2603804a/68747470733a2f2f706f7365722e707567782e6f72672f6c6170617967726f75702f646f637472696e652d636f636b726f61636864622f6c6963656e7365)](https://packagist.org/packages/lapaygroup/doctrine-cockroachdb)

CockroachDB Driver
==================

[](#cockroachdb-driver)

Driver for supports CockroachDB in Doctrine DBAL. This library fixes errors related doctrine:migrations when using PostgreSQL driver.

Serverless connection URL format: //clouduser::26257/clustername.dbname

Symfony configuration example:

```
# doctrine.yaml
doctrine:
    dbal:
        user: root
        port: 26257
        host: localhost
        dbname: database_name
        platform_service: LapayGroup\DoctrineCockroach\Platforms\CockroachPlatform
        driver_class: LapayGroup\DoctrineCockroach\Driver\CockroachDriver

    # Serverless example
    dbal:
        user: wildtuna
        password: password
        port: 26257
        host: free-tier7.aws-eu-west-1.cockroachlabs.cloud
        dbname: lapaygroup-test-869.defaultdb
        platform_service: LapayGroup\DoctrineCockroach\Platforms\CockroachPlatform
        driver_class: LapayGroup\DoctrineCockroach\Driver\CockroachDriver
```

Connection url style:

```
# doctrine.yaml
doctrine:
    dbal:
        url: //root:@localhost:26257/database_name
        platform_service: LapayGroup\DoctrineCockroach\Platforms\CockroachPlatform
        driver_class: LapayGroup\DoctrineCockroach\Driver\CockroachDriver

    # Serverless example
    dbal:
        url: '//wildtuna:password@free-tier7.aws-eu-west-1.cockroachlabs.cloud:26257/lapaygroup-test-869.defaultdb'
        platform_service: LapayGroup\DoctrineCockroach\Platforms\CockroachPlatform
        driver_class: LapayGroup\DoctrineCockroach\Driver\CockroachDriver
```

```
# services.yaml
services:
  LapayGroup\DoctrineCockroach\Platforms\CockroachPlatform:
    autowire: true

  LapayGroup\DoctrineCockroach\Driver\CockroachDriver:
    autowire: true

  LapayGroup\DoctrineCockroach\Schema\CockroachSchemaManager:
    autowire: true
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 83.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~19 days

Recently: every ~38 days

Total

9

Last Release

1745d ago

PHP version history (3 changes)0.1.0PHP &gt;=5.5

0.1.1PHP &gt;=7.2

0.1.7PHP ^7.2 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/a108a41915680f378ce3c7a18f5d7852dc9281750cb42d9692d7889d61b317c6?d=identicon)[LapayGroup](/maintainers/LapayGroup)

---

Top Contributors

[![iamwildtuna](https://avatars.githubusercontent.com/u/499411?v=4)](https://github.com/iamwildtuna "iamwildtuna (20 commits)")[![y4roc](https://avatars.githubusercontent.com/u/18329992?v=4)](https://github.com/y4roc "y4roc (3 commits)")[![simPod](https://avatars.githubusercontent.com/u/327717?v=4)](https://github.com/simPod "simPod (1 commits)")

---

Tags

cockroachcockroachdbdoctrinedoctrine-cockroachdbdoctrine-dbaldoctrine-driverdoctrine-ormphp-ormdoctrinepdocockroachdbcockroachpdo\_pgsqldoctrine-cockroachdb

### Embed Badge

![Health badge](/badges/lapaygroup-doctrine-cockroachdb/health.svg)

```
[![Health](https://phpackages.com/badges/lapaygroup-doctrine-cockroachdb/health.svg)](https://phpackages.com/packages/lapaygroup-doctrine-cockroachdb)
```

###  Alternatives

[scienta/doctrine-json-functions

A set of extensions to Doctrine that add support for json query functions.

58523.9M36](/packages/scienta-doctrine-json-functions)[laravel-doctrine/orm

An integration library for Laravel and Doctrine ORM

8425.3M87](/packages/laravel-doctrine-orm)[martin-georgiev/postgresql-for-doctrine

Extends Doctrine with native PostgreSQL support for arrays, JSONB, ranges, PostGIS geometries, text search, ltree, uuid, and 100+ PostgreSQL-specific functions.

4485.3M4](/packages/martin-georgiev-postgresql-for-doctrine)[damienharper/auditor-bundle

Integrate auditor library in your Symfony projects.

4542.8M](/packages/damienharper-auditor-bundle)[stefano/stefano-tree

Nested Set(MPTT) implementation for PHP

2788.5k](/packages/stefano-stefano-tree)[flow-php/doctrine-dbal-bulk

Bulk inserts and updates for Doctrine DBAL

14295.2k1](/packages/flow-php-doctrine-dbal-bulk)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
