oro/platform-serialised-fields
Adopt if:
Look Elsewhere if:
json column or packages like [spatie/laravel-activitylog] may fit better).For Executives: "This package lets us add custom fields to our entities (e.g., CRM attributes, reporting metrics) without slowing down deployments with database migrations. For example, our sales team could define new ‘deal stages’ via the admin panel—no dev work required. It’s a force multiplier for internal tools, especially if we’re already using OroPlatform. The tradeoff? We’d need to accept that these fields won’t be queryable like traditional columns, but the speed to iterate outweighs that for our use case."
For Engineering: *"OroEntitySerializedFieldsBundle gives us a battle-tested way to store dynamic key-value pairs on entities without schema changes. It’s a drop-in for OroPlatform projects and plays nicely with their entity extension system. Key caveats:
WHERE or JOIN on these fields.For Developers: *"This is a lightweight solution if you’re already using Oro’s entity extension system. To integrate:
composer.json.$entity->getExtendedField('key').
Watch out: Serialized fields are stored as BLOBs—no indexes, no constraints. Use sparingly for truly dynamic data."*How can I help you explore Laravel packages today?