PHPackages                             curtis18/swoft-pgsql - 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. curtis18/swoft-pgsql

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

curtis18/swoft-pgsql
====================

swoft postgresql component

1.0.2(6y ago)101.1k5[1 issues](https://github.com/curtis18/swoft-pgsql/issues)1Apache-2.0PHPCI failing

Since Jul 20Pushed 6y agoCompare

[ Source](https://github.com/curtis18/swoft-pgsql)[ Packagist](https://packagist.org/packages/curtis18/swoft-pgsql)[ RSS](/packages/curtis18-swoft-pgsql/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (3)Versions (4)Used By (1)

Swoft PostgreSQL Component
==========================

[](#swoft-postgresql-component)

[![Latest Stable Version](https://camo.githubusercontent.com/69ca2d42f58444fe25fac0f9263c83e6832900d978f09f4cc4b408e98c2ff272/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f63757274697331382f73776f66742d706773716c2e737667)](https://packagist.org/packages/curtis18/swoft-pgsql)[![PHP Version](https://camo.githubusercontent.com/c197ef1e57a32c886b2a54d02ead7dbc035f18b3f39a642703b9372eef7819f9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d2533453d372e312d627269676874677265656e2e7376673f6d61784167653d32353932303030)](https://secure.php.net/)[![Swoft Doc](https://camo.githubusercontent.com/ea1431167b522b88916c717b0bfe6348328a8662a684bb128f0b0bd6d22a20d5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f63732d70617373696e672d677265656e2e7376673f6d61784167653d32353932303030)](https://www.swoft.org/docs)[![Swoft PostgreSQL Component License](https://camo.githubusercontent.com/1c419f89412ea6c234c184ad6d85decb127c18584858d3707ae7d8e2131eccc4/68747470733a2f2f696d672e736869656c64732e696f2f686578706d2f6c2f706c75672e7376673f6d61784167653d32353932303030)](https://github.com/curtis18/swoft-pgsql/blob/master/LICENSE)

Swoft PostgreSQL Component

Install
-------

[](#install)

- If you are using Swoole 4.4 or above, make sure install the extension of Swoole PostgreSQL.
- composer command

```
composer require curtis18/swoft-pgsql
```

Resources
---------

[](#resources)

- [Documentation of Swoole PostgreSQL Extension](https://github.com/swoole/ext-postgresql)
- [Documentation of Swoft](https://swoft.org/docs)
- [Report Issues](https://github.com/curtis18/swoft-pgsql/issues) and [Send Pull Requests](https://github.com/curtis18/swoft-pgsql/pulls) in the [Main Swoft PostgreSQL Component Repository](https://github.com/curtis18/swoft-pgsql)

LICENSE
-------

[](#license)

The Component is open-sourced software licensed under the [Apache license](LICENSE).

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~53 days

Total

3

Last Release

2383d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8e3d393353e612a87b8b6aa825cf1e75284008f7ade13887a61a0b9287d2733e?d=identicon)[curtis18](/maintainers/curtis18)

---

Top Contributors

[![curtis18](https://avatars.githubusercontent.com/u/6743839?v=4)](https://github.com/curtis18 "curtis18 (2 commits)")

---

Tags

phppostgresqlpgsqlswooleswoft

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/curtis18-swoft-pgsql/health.svg)

```
[![Health](https://phpackages.com/badges/curtis18-swoft-pgsql/health.svg)](https://phpackages.com/packages/curtis18-swoft-pgsql)
```

###  Alternatives

[swoft/db

swoft database component

24167.4k11](/packages/swoft-db)[vcian/laravel-db-auditor

Database DB Auditor provide leverage to audit your MySql,sqlite, PostgreSQL database standards and also provide options to add constraints in table.

28535.1k1](/packages/vcian-laravel-db-auditor)[hyperf/database-pgsql

A pgsql handler for hyperf/database.

12282.0k13](/packages/hyperf-database-pgsql)[swoft/redis

swoft redis component

12168.4k16](/packages/swoft-redis)[swoft/rpc-server

swoft rpc server component

10138.8k5](/packages/swoft-rpc-server)[simple-swoole/db

A db component for Simps.

216.3k3](/packages/simple-swoole-db)

PHPackages © 2026

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