conserto/pomm-model-manager
Pomm ModelManager adds a lightweight model layer for PostgreSQL in Pomm: built-in CRUD plus count/exists, flexible entities, embedded entity conversion, and transactional model computations with advanced Postgres transaction settings. Not an ORM.
composer.json) to allow PHP 8.5.| Risk Area | Severity | Mitigation Strategy |
|---|---|---|
| PHP 8.5 Migration | Medium | Test Pomm models with PHP 8.5’s strict typing and constructor changes. |
| Future Laravel PHP Requirements | Low | Monitor Laravel’s PHP version policy; PHP 8.5 support here is proactive. |
| ORM Inconsistency | High | Unchanged from prior assessment. Isolate Pomm to avoid conflicts. |
| Vendor Lock-in | Low | Unchanged. Pomm remains MIT-licensed. |
composer.json already support PHP 8.5? If not, what’s the upgrade path?composer.json to:
"require": {
"php": "^8.1 || ^8.2 || ^8.3 || ^8.5",
"conserto/pomm-model-manager": "^4.0"
}
| Phase | Updated Action Items |
|---|---|
| Assessment | Add PHP 8.5 compatibility to the audit criteria for Pomm adoption. |
| Proof of Concept | Test the Pomm module under PHP 8.5 to validate: |
- Constructor behavior (e.g., readonly properties). |
|
| - Enum/attribute support (if using PHP 8.5 features). | |
| Hybrid Integration | No changes. Still requires facades/adapters. |
| Full Adoption | No changes. Gradual migration remains the safest path. |
class User extends PommModel {
public function __construct(
public readonly string $id, // PHP 8.2+ feature
public string $name,
) {}
}
enum UserStatus {
case Active;
case Inactive;
}
readonly properties).php -d opcache.jit_buffer_size=100M -d opcache.enable_cli=1 vendor/bin/phpunit
declare(strict_types=1);
composer.json until ready to upgrade.How can I help you explore Laravel packages today?