Weave 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

Postgresql Type Bundle Laravel Package

fle/postgresql-type-bundle

A Symfony bundle that integrates PostgreSQL-specific Doctrine types, making native Postgres data types easier to map and use in entities. Includes bundle configuration and service wiring for quick setup in Symfony applications.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Schema design: Postgres-specific types vs. portable columns. The core decision this package touches is whether the data model uses native PostgreSQL column types (arrays, hstore-style key/value, and other non-standard types Doctrine doesn't ship) or normalized/portable equivalents (join tables, JSON text columns, child records). The package exists purely to make those native types first-class in a Doctrine-mapped model — it does not add product capability on its own.
  • Build vs. buy on persistence plumbing. Realistically the "buy" side is weak here: the package is a thin set of Doctrine DBAL type registrations plus a Symfony DI extension. The honest framing is buy vs. write ~1–3 days of in-house type classes, and the in-house option carries less risk than a 4-star, zero-dependent, archived dependency.
  • Stack-fit gate. This is a Symfony bundle, not a Laravel package. It registers through the Symfony kernel/DI container and cannot be installed into a Laravel app as-is. For a Laravel team the only transferable asset is the DBAL type logic, which would be ported rather than required — so the decision becomes "do we need these types, and do we write them ourselves?" not "which package do we install?"
  • Vendor lock-in and migration cost. Committing to Postgres-only column types raises the cost of any future move to MySQL/managed Postgres variants and complicates read replicas, BI tooling, and ORM portability. This package lowers the implementation friction of that choice, which can quietly make a lock-in decision feel cheaper than it is.
  • Roadmap input for features that want semi-structured data — feature flags, per-tenant settings, tag/array fan-out, event payloads. If such a feature is near-term, this package is worth a 1-hour spike on type fidelity; it is not worth a roadmap line item.

When to Consider This Package

Consider it only when all of the following hold:

  • The application is Symfony with Doctrine ORM/DBAL (not Laravel, not Eloquent).
  • You have a concrete, already-justified need for PostgreSQL types Doctrine doesn't provide out of the box, and you've confirmed the package actually covers those specific types.
  • You are prepared to vendor/fork the code and own it — it is archived, so there is no upstream for bug fixes, PHP-version bumps, or security patches.
  • The team has reviewed the actual source (small enough to audit in an afternoon) and is comfortable with its test coverage, which you should assume is thin.

Look elsewhere — the default recommendation — when:

  • You're on Laravel. The bundle will not boot; use Laravel's native json casting, or write a custom cast/DBAL type. Zero value from installing.
  • You only need JSON/JSONB. Modern Doctrine DBAL and Laravel both ship this natively; this dependency buys nothing.
  • You need a maintained dependency. 4 stars, 0 dependents, archived, and a composite score of 0.025 mean there is no community validation, no downstream usage to learn from, and no one to escalate to. That's a supply-chain and maintenance liability for a production system.
  • You want a supported solution. Prefer documented DBAL type extensions from an actively maintained package, or the in-house route — which for this scope is genuinely small.

Treat it as a reference implementation to read, not a dependency to adopt.

How to Pitch It (Stakeholders)

For executives: This is narrow persistence plumbing, not a product feature — it lets a Doctrine-based app map PostgreSQL-specific column types. Two facts dominate the decision: it is unmaintained (archived, 4 stars, no dependents) and it is built for Symfony, not our Laravel stack. Buying it therefore means adopting code we must maintain ourselves, to avoid writing a few hundred lines of equivalent code. Recommendation: don't take the dependency; if a feature needs these column types, budget 1–3 engineering days to implement and test them in-house.

For engineering: Useful as a readable example of DBAL custom type registration and Symfony DI wiring. If we're on Laravel, the bundle is inert — we'd port the type classes and register them against doctrine/dbal directly. Whatever we take, we own it: pin it, audit it, and add tests we control. Also confirm the type list actually matches our need before investing any time; the package's value is entirely in that match.

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.
diephp/sequences
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle