PgBackedEnum, PgComposite).ext-pgsql (not PDO) and PHP 8.4+, which is aligned with Laravel’s current LTS support (Laravel 10+).PommFoundation for LISTEN/NOTIFY or hstore operations while keeping Eloquent for CRUD).SessionBuilder as a singleton).ConverterHolder caching).ext-pgsql)?ConverterHolder caching behavior.ConverterHolder semantics)?Log facade.FoundationSessionAtoum).// Example: PommFoundation facade
Facades\Pomm::query("SELECT * FROM users WHERE hstore_data @> '{\"active\": \"true\"}'");
SimpleQueryManager for raw SQL while keeping Eloquent for models.LISTEN/NOTIFY for real-time updates.PgBackedEnum for enum fields).| Feature | Compatibility | Workaround |
|---|---|---|
| PDO | ❌ (Uses ext-pgsql) |
Use PDO for non-PostgreSQL or wrap calls. |
| Eloquent Models | ⚠️ (Manual mapping required) | Hybrid approach: use Pomm for queries, Eloquent for models. |
| Laravel Migrations | ✅ (Works with raw SQL) | No changes needed. |
| Laravel Events | ⚠️ (LISTEN/NOTIFY replaces queue listeners) | Replace queue:listen with Pomm observers. |
| Caching (Redis/Memcached) | ✅ (No impact) | Use as-is. |
| Queues | ⚠️ (LISTEN/NOTIFY for real-time; queues for async) | Coexist or migrate to Pomm for event-driven workflows. |
composer require conserto/pomm-foundation..env or a config file.SessionBuilder to Laravel’s container:
$app->singleton('pomm.session', fn() => new \PommProject\Foundation\SessionBuilder()->get());
SimpleQueryManager.ext-pgsql.test, stan, rector) reduce manual maintenance (e.g., auto-fix PHPCS issues).AGENTS.md and CHANGELOG clarify BC policies and caching behavior.PgString) requires understanding ConverterHolder semantics.How can I help you explore Laravel packages today?