sad_spirit/pg_builder
pg_builder is a Laravel/PHP query builder for PostgreSQL that generates SQL with support for CTEs, window functions, JSON operators, arrays, and advanced Postgres features, offering a fluent, type-safe API as an alternative to raw SQL.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| sad_spirit/pg_wrapper | 0.87 | A modern, object-oriented wrapper around PHP's pgsql extension for PostgreSQL, offering connection management, parameterized queries, result iteration, automatic type conversion, and support for custom and async queries. | 22 | 22 | 2 | 683 | 0 | 19.0 | 24.0 | BSD-2-Clause | 3 weeks ago | |
| ceddyg/query-builder-repository | 0.86 | ceddyg/query-builder-repository is a Laravel package that layers a repository abstraction over the fluent query builder, giving you a clean, reusable data layer for your models. It streamlines CRUD, filtering, and query organization so controllers and services stay lean, readable, and testable. | 11 | — | 7 | — | 3 | 1.0 | 0.4 | — | — | |
| umbrellio/laravel-pg-extensions | 0.86 | PostgreSQL extensions for Laravel: schema-builder helpers for extensions, views, triggers, functions and rules, plus EXPLAIN query analysis, UNION support, and convenient Eloquent/query-builder additions for Postgres-specific features. | 103 | 104 | 20 | 6K | 2 | 13.1 | 27.6 | MIT | 5 months ago | |
| tpetry/laravel-postgresql-enhanced | 0.85 | Laravel supports only the lowest common denominator of databases. This package unlocks PostgreSQL's full power: extensions, triggers, views, advanced indexes, zero-downtime migrations, and more. | 1,044 | 1,044 | 47 | 231K | 9 | 9.2 | 34.7 | MIT | — | |
| michael-rubel/laravel-sql-function-repository | 0.85 | A lightweight Laravel package that brings the repository pattern to SQL functions, letting you call database functions and stored procedures through clean, testable classes with bound parameters instead of scattered raw queries. | 7 | 7 | 1 | 0 | 0 | 0.2 | — | MIT | 3 years ago | |
| genealabs/laravel-optimized-postgres | 0.85 | GeneaLabs Laravel Optimized Postgres brings PostgreSQL-specific performance enhancements to Laravel's query builder and Eloquent, helping you write faster queries and better use native Postgres features. A lightweight drop-in for apps already running Postgres. | 58 | 58 | 1 | 9K | 0 | 16.2 | 34.1 | MIT | 2 months ago | |
| mouf/magic-query | 0.85 | Magic Query lets PHP developers describe SQL queries in JSON instead of hand-written strings, then compiles them into parameterized SQL with joins, unions and filters handled automatically. This reduces injection risk and makes complex queries easier to build, reuse and maintain across projects. | 20 | 21 | 14 | 4K | 4 | 2.1 | 33.8 | — | 1 year ago | |
| haakco/laravel-postgres-helper | 0.85 | A lightweight Laravel package that simplifies working with PostgreSQL. It bundles convenient helpers for common Postgres features, letting you write cleaner queries, models, and migrations with less repetitive boilerplate. Handy for apps already running on Postgres. | 0 | — | 0 | — | 0 | 11.0 | — | MIT | 5 months ago | |
| tpetry/laravel-query-expressions | 0.85 | Add powerful SQL expression support to Laravel’s query builder. Compose reusable, type-safe expressions for functions, casts, JSON ops, windows, and more, with clean syntax and cross-database compatibility—ideal for advanced filtering, sorting, and computed columns. | 357 | 359 | 29 | 118K | 1 | 2.9 | 34.8 | MIT | — | |
| fle/postgresql-type-bundle | 0.85 | 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. | 4 | 5 | 1 | 0 | 0 | 0.0 | — | — | — | |
| tursodatabase/turso-driver-laravel | 0.85 | Laravel database driver for Turso (libSQL) that lets your app use Turso's SQLite-compatible embedded and remote databases through Laravel's native DB layer. Add a connection and keep using Eloquent, migrations, and the query builder with edge-friendly, replicated SQLite storage. | 99 | — | 15 | — | 1 | 1.4 | 1.1 | MIT | — | |
| sebastiansulinski/laravel-bits | 0.85 | Laravel Bits is a lightweight collection of small, reusable utilities and helpers for Laravel applications. It provides handy building blocks for common development tasks, helping you keep code concise and organized without adding heavy dependencies. | 0 | — | 0 | — | 0 | 19.6 | — | — | 2 weeks ago | |
| pushery/sqlens-for-laravel | 0.85 | SQLens for Laravel gives you a clear lens on the SQL your application runs, helping you inspect, analyze, and debug queries during development. Lightweight and easy to drop into any Laravel project, it surfaces the database activity that matters so you can spot problems faster. | 11 | — | 1 | — | 0 | 19.9 | — | MIT | 6 days ago |
|
| pfilsx/postgresql-doctrine-bundle | 0.85 | Symfony bundle that integrates PostgreSQL-specific Doctrine DBAL types into your application, so you can map native Postgres data types in entities and queries while keeping standard Doctrine conventions. A small helper for projects running Doctrine on PostgreSQL. | 4 | 4 | 1 | 39 | 0 | 0.1 | 13.1 | MIT | 3 years ago | |
| makinacorpus/query-builder | 0.85 | A fluent SQL query builder for PHP that lets you construct complex SELECT, INSERT, UPDATE, and DELETE queries programmatically through a clean, chainable API. Lightweight and framework-agnostic, it integrates easily into Laravel or any PHP application. | 7 | 7 | 1 | 18K | 14 | 4.1 | 50.1 | MIT | — | |
| thecodingmachine/dbal-fluid-schema-builder | 0.85 | A fluent, object-oriented PHP API for building Doctrine DBAL database schemas. Define tables, columns, indexes, and foreign keys with readable chained methods, making schema creation and migrations cleaner, more expressive, and less error-prone in any PHP project. | 28 | — | 4 | — | 1 | 0.4 | — | — | 2 years ago |
|
| bosnadev/database | 0.85 | — | 78 | 81 | 69 | 14K | 8 | 2.7 | 24.6 | MIT | 5 years ago | |
| pfilsx/postgresql-doctrine | 0.85 | Adds PostgreSQL-specific types, functions, and platform support to Doctrine DBAL, enabling native arrays, JSON/JSONB, hstore, and other rich Postgres features in your entities. A lightweight bridge for projects needing more than Doctrine's built-in Postgres support. | 3 | 3 | 1 | 58 | 0 | 0.0 | 16.4 | MIT | 1 year ago | |
| opensoft/doctrine-postgres-types | 0.85 | Doctrine DBAL types for PostgreSQL-specific columns. Map arrays, hstore, jsonb, uuid, inet, and other native Postgres types in your entities so schema tools and queries handle them correctly. Useful for Laravel apps using Doctrine. | 67 | — | 23 | — | 4 | 2.1 | 1.1 | — | 10 years ago |
|
| beyondcode/laravel-ask-database | 0.85 | Ask your database questions in plain English. BeyondCode's package uses AI to translate natural language into SQL queries and returns the results, making data exploration easier without writing SQL yourself. | 301 | 276 | 46 | 98 | 0 | 1.6 | 1.2 | MIT | 3 years ago |
How can I help you explore Laravel packages today?