symfony/ux-cropperjs
Symfony UX Cropper.js integrates the Cropper.js image-cropping library with Symfony forms. Add a cropper-enabled form type to let users crop images in the browser and submit crop coordinates alongside uploads, with configurable options and Stimulus-powered behavior.
symfony/asset-mapper 8.2+. If our Symfony stack is on or moving to AssetMapper 8.2+, v3.5.0 was a latent blocker for this feature area. That is a "can we upgrade the platform without regressing media uploads" question, which is a PM-visible risk, now cleared.Adopt when all of the following hold:
Look elsewhere when:
For executives (30 seconds): We can ship production-quality image cropping — avatars, product photos, listing images — by adopting a small, MIT-licensed component maintained by the Symfony core organization, instead of building and maintaining that UI ourselves. Estimated saving is roughly one to two sprints of front-end effort plus the recurring cost of browser-compat fixes. The just-released v3.6.0 is a maintenance release that also clears a compatibility clash with symfony/asset-mapper 8.2+, so adopting it will not block our platform upgrade path. Risk profile is low: no breaking changes, no new API surface, standard semantic-versioning guarantees.
For engineering: v3.6.0 = tooling-dependency bump, README command-format fix, and one bug fix resolving the symfony/asset-mapper ≥8.2 conflict. Nothing to migrate. The integration surface is a Stimulus controller plus form/Twig wiring; state lives in the DOM and the crop result is handed back as an image payload, so it drops into existing upload flows without touching our storage or validation layers. Caveat to confirm before we commit: this is Symfony UX, so if the target surface is a Laravel service we should instead take Cropper.js directly and skip the Symfony-specific glue. Recommended next step: a timeboxed pilot on one low-risk surface (e.g., avatar upload in account settings) to validate UX and payload handling, then decide on broader rollout.
How can I help you explore Laravel packages today?