Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Agents
martin-georgiev/postgresql-for-doctrine
claude-code
cursor
dbal
json
xml
geo
geometry
money
doctrine
postgresql
pgsql
postgres
doctrine-dbal
geography
uuid
dql
arrays
postgis
gis
spatial
range
levenshtein
geospatial
jsonpath
vector
cidr
doctrine-types
soundex
ltree
jsonb
doctrine-orm
tsvector
full-text-search
math-functions
trigonometry
inet
date-interval
doctrine-dql
embeddings
json-data
pgvector
vector-search
martin-georgiev
postgres-extension
postgis-geometry
text-search
array-data-types
tsquery
multirange
macaddr
network-types
fuzzystrmatch
Install
php artisan boost:add-skill martin-georgiev/postgresql-for-doctrine

Save this content to: AGENTS.md

---
package: martin-georgiev/postgresql-for-doctrine
source_path: AGENTS.md
repo: https://github.com/martin-georgiev/postgresql-for-doctrine
---

# PostgreSQL for Doctrine

PHP library enhancing Doctrine ORM with PostgreSQL-specific DBAL types, DQL functions, and PostGIS support. PHP 8.2+, PostgreSQL 9.4+.

## Project Layout

```
src/MartinGeorgiev/Doctrine/
  DBAL/Types/              # Custom DBAL types (arrays, ranges, geometric, network, etc.)
  DBAL/Types/Exceptions/   # Domain-specific exceptions per type
  DBAL/Types/ValueObject/  # Immutable value objects for composite types
  DBAL/Types/Traits/       # Shared validation/conversion traits
  ORM/Query/AST/Functions/ # DQL function implementations (~340 functions)
    Network/               # Network address functions (inet, cidr, macaddr)
    PostGIS/               # Spatial functions (ST_*)
    Ltree/                 # Hierarchical label tree functions
    Vector/                # pgvector similarity search functions
    Fuzzystrmatch/         # Fuzzy string matching functions
    Trgm/                  # Trigram similarity functions
tests/
  Unit/                    # PHPUnit unit tests (mirrors src/ structure)
  Integration/             # Docker-based integration tests (real PostgreSQL + PostGIS)
fixtures/                  # Centralized test fixture entities
ci/
  phpstan/config.neon      # PHPStan level max
  phpunit/                 # PHPUnit configs (unit + integration)
```

## Key Workflows

**Unit tests**: `composer run-unit-tests`
**Integration tests**: `docker compose up -d && composer run-integration-tests` (starts PostgreSQL+PostGIS via Docker, then runs tests)
**PHPStan**: `./bin/phpstan analyse --configuration=ci/phpstan/config.neon <files> --memory-limit=512M`
**Code style check**: `composer check-code-style`
**Code style fix**: `composer fix-code-style`
**Full static analysis**: `composer run-static-analysis`
**All tests**: `composer run-all-tests`

## Rules

Detailed coding standards and rules with examples live in `.ai-tools/rules/`, auto-loaded by Claude Code, Cursor, Windsurf, AugmentCode, and GitHub Copilot via symlinks.

package: martin-georgiev/postgresql-for-doctrine source_path: AGENTS.md repo: https://github.com/martin-georgiev/postgresql-for-doctrine

PostgreSQL for Doctrine

PHP library enhancing Doctrine ORM with PostgreSQL-specific DBAL types, DQL functions, and PostGIS support. PHP 8.2+, PostgreSQL 9.4+.

Project Layout

src/MartinGeorgiev/Doctrine/
  DBAL/Types/              # Custom DBAL types (arrays, ranges, geometric, network, etc.)
  DBAL/Types/Exceptions/   # Domain-specific exceptions per type
  DBAL/Types/ValueObject/  # Immutable value objects for composite types
  DBAL/Types/Traits/       # Shared validation/conversion traits
  ORM/Query/AST/Functions/ # DQL function implementations (~340 functions)
    Network/               # Network address functions (inet, cidr, macaddr)
    PostGIS/               # Spatial functions (ST_*)
    Ltree/                 # Hierarchical label tree functions
    Vector/                # pgvector similarity search functions
    Fuzzystrmatch/         # Fuzzy string matching functions
    Trgm/                  # Trigram similarity functions
tests/
  Unit/                    # PHPUnit unit tests (mirrors src/ structure)
  Integration/             # Docker-based integration tests (real PostgreSQL + PostGIS)
fixtures/                  # Centralized test fixture entities
ci/
  phpstan/config.neon      # PHPStan level max
  phpunit/                 # PHPUnit configs (unit + integration)

Key Workflows

Unit tests: composer run-unit-tests Integration tests: docker compose up -d && composer run-integration-tests (starts PostgreSQL+PostGIS via Docker, then runs tests) PHPStan: ./bin/phpstan analyse --configuration=ci/phpstan/config.neon <files> --memory-limit=512M Code style check: composer check-code-style Code style fix: composer fix-code-style Full static analysis: composer run-static-analysis All tests: composer run-all-tests

Rules

Detailed coding standards and rules with examples live in .ai-tools/rules/, auto-loaded by Claude Code, Cursor, Windsurf, AugmentCode, and GitHub Copilot via symlinks.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
bugban/symfony
beyonder-capi/workflow-extensions-bundle
beyonder-capi/job-queue-bundle
capell-app/block-library
axium/identity
cetria/laravel-dummy-models
cetria/reflection-helper
agropredict/sso-auth-bundle
evolvestudio/spam-protection
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin