tpetry/laravel-postgresql-enhanced
Adds PostgreSQL-specific power to Laravel beyond the “lowest common denominator”: enhanced migrations (zero-downtime, extensions, functions, triggers, views/materialized views), advanced indexes (concurrent, partial, include, full-text, temporal), domains and table options.
EXPLAIN plans), accelerating feature delivery.hasManyThrough or raw SQL for complex queries).->whereRaw()).For Executives: "This package unlocks PostgreSQL’s full potential in Laravel—enabling zero-downtime migrations, advanced analytics, and high-performance features like vector search or time-series data (via TimescaleDB) without rewriting our database layer. For [use case: e.g., ‘our real-time dashboard’ or ‘global SaaS platform’], it reduces risk, cuts dev time, and future-proofs our stack against PostgreSQL’s evolving capabilities. The MIT license and semantic versioning ensure low-risk adoption."
For Engineering: *"This fills Laravel’s PostgreSQL gaps with battle-tested features:
RETURNING clauses to simplify complex operations.For Developers: *"Stop writing raw SQL for PostgreSQL features! This package gives you:
Schema::createFunction()).$table->fullTextIndex(['body'], 'idx_body_search');
Downside: Some features (e.g., sql:expression functions) require PostgreSQL 12+. Always check the breaking changes when upgrading Laravel."*
How can I help you explore Laravel packages today?