mcfedr/uuid-extra-bundle
A Symfony bundle that adds UUID support to your application, including Doctrine types, form types, validators, and generators so you can use UUIDs as primary keys and identifiers with less configuration.
Uuid objects, forms validate them, and the serializer emits them as strings — one consistent contract instead of three hand-rolled conversions.Consider it when:
ramsey/uuid and have several controllers, forms, and serializer paths handling UUIDs.ValueResolver for 6.2+. If you are still on Symfony 4.4, 4.2.0 is likely out of range — you would pin an older line and accept the unsupported position.Look elsewhere when:
ramsey/uuid directly with route model binding / HasUuids; this bundle provides zero value there. If the goal is a Laravel-side identifier story, this package is off the table entirely.ramsey/uuid-doctrine, a different package; persistence mapping is out of scope here.To executives: This is a small, free, MIT-licensed convenience layer that standardizes how UUID identifiers move through our Symfony API — controllers, forms, and JSON output. It saves a few days of engineering and reduces a class of identifier-handling bugs. The prior concern that it was abandoned is largely resolved by the 4.2.0 release, but one release after a long gap is not a vendor relationship. It remains non-strategic: worth a time-boxed trial, not worth standardizing across teams. It is also Symfony-only and irrelevant to our Laravel services.
To engineering: 4.2.0 is a support-matrix release — it drops older PHP and Symfony and describes no features or API changes. Practically: low expected upgrade risk, but check your runtime before bumping, because services on older PHP or Symfony 4.4 may be pinned out entirely. Two open questions from the previous assessment should be re-checked against the changelog rather than assumed: whether it now handles Symfony 6.2+ via ValueResolver, and whether it is compatible with Ramsey 4.x / UUIDv7. Keep it pinned (or vendored if that is already your pattern) and downgrade the fork urgency from "budget now" to "monitor the next two or three releases for cadence." If a release stalls again or your fork friction exceeds roughly a day, write the adapters in-house.
How can I help you explore Laravel packages today?