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

Database Pgsql Laravel Package

hyperf/database-pgsql

PostgreSQL driver for Hyperf's database component, adding PDO-based Postgres connectivity to coroutine-driven applications. It integrates with Hyperf models, query builder, migrations, and connection pooling, so you can use familiar Laravel-style database APIs with PostgreSQL.

Deep Wiki
Context7

Product Decisions This Supports

  • Framework standardization (the actual decision this bears on). Despite the framing, this is not a Laravel package — it is the PostgreSQL driver for Hyperf, the Swoole/Swow coroutine framework. Adopting it is a downstream consequence of a much larger decision: whether any of our services run on Hyperf rather than Laravel/Symfony. Treat the package itself as a checkbox, not a decision.
  • Datastore choice within a Hyperf service. If we already run Hyperf, this package is what makes PostgreSQL a first-class option instead of MySQL-by-default. It underpins decisions like "can we use Postgres for the new billing service" or "can we consolidate onto the managed Postgres instance we already pay for."
  • Build vs. buy vs. consume. This is "consume." It is MIT-licensed, read-only, and maintained as a split of the hyperf/database monorepo. There is no vendor relationship, no support contract, and no realistic path to contributing a fix without going upstream. Cost of adoption is ~zero; cost of ownership is zero; cost of escape is the cost of leaving Hyperf.
  • Roadmap input, negative case. For a Laravel shop, the correct roadmap entry is "do not adopt; use Laravel's native pgsql connector (PDO)." This assessment's main value is closing out a candidate that will otherwise resurface every time someone greps for "PHP postgres package."
  • Not a differentiator. With 12 stars and an opportunity score of 1.72, nothing here supports a customer-facing capability we could not get from a dozen alternatives. Do not let it appear on a competitive or platform-strategy slide.

When to Consider This Package

Consider it only when all of the following hold:

  • The service is already on Hyperf and the team has committed to it for at least the current planning horizon.
  • You need Postgres specifically, and the version constraint aligns with the hyperf/database release you are pinned to. These split repos are version-locked to the monorepo — mismatched minors are a real failure mode.
  • You are comfortable that bug reports and patches go to the hyperf/database monorepo, not this repo, and that your team is the de facto support tier.

Look elsewhere when:

  • You are on Laravel, Symfony, or plain PHP. Laravel ships a Postgres connector; this package will not install usefully into that stack. This is the dominant case and the answer is a clear no.
  • You need a supported commercial dependency with SLAs, CVE response commitments, or a vendor to escalate to. MIT + read-only split repo gives you none of that.
  • You need advanced Postgres surface — PostGIS, logical replication management, deep EXPLAIN tooling, pgvector workflows. This is a connection handler and query grammar, not an opinionated Postgres platform.
  • You need connection pooling semantics beyond what Hyperf's coroutine pool provides. Validate this early; pooling behavior under coroutines is the most common surprise.
  • Your risk register treats "12 stars" as a red flag. It is not, on its own — read-only subtree splits systematically have low star counts and this tells you nothing about health. Judge the parent hyperf/database repo and its release cadence instead. The stated last release date of 2026-07-26 is almost certainly a metadata artifact and should be verified against Packagist before anyone cites it.

How to Pitch It (Stakeholders)

To executives (one paragraph): This is a free, MIT-licensed database driver for a PHP framework called Hyperf, not for Laravel. It costs nothing and adds nothing — it is plumbing that only matters if we have already decided to run Hyperf services. Recommend we record it as "not applicable to current stack" and revisit only if a Hyperf adoption proposal reaches the roadmap. No budget, headcount, or vendor review required.

To engineering leads (three points): (1) It is a thin adapter over hyperf/database; the real dependency and the real risk sit in the parent repo — pin and monitor that, not this. (2) The repo is read-only by design, so plan for fixes to route upstream or be carried as a local patch; budget for that if Postgres is on a critical path. (3) If the team is on Laravel, close this out — the built-in pgsql connector covers the same ground with the framework's own support window.

To the requesting team: The low star count and low opportunity score reflect the packaging model (a read-only split of a monorepo), not abandonment. Ask instead: which hyperf/database version are we on, who owns upgrades, and what is our exit path if Hyperf stalls? Those three answers matter more than this package's score.

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.
dbravoan/dbcms-admin-theme-dbcms
dbravoan/dbcms-theme-db-cyber
dbravoan/dbcms-blocks-basic
dbravoan/dbcms-module-content-audit
dbravoan/dbcms-module-ai-assistant
paygate-to/paygate-php
padosoft/askmydocs-connector-base
defstudio/supercharged-carbon
bernskioldmedia/laravel-matomo
bernskioldmedia/laravel-harvest
bernskiold/laravel-data-scrubber
bernskiold/laravel-currency-converter
bernskiold/laravel-campaign-monitor
bernskioldmedia/laravel-autotranslate
siberfx/telegram-bot
roy-sandip/laravel-view-extended
gregsphotography/site-builder-core
roy-sandip/laravel-view
anodyne/blade-fluentui-icons
webx-ui/module-catalog-collections