alengo/sulu-media-extra-bundle
MediaCropModifiedEvent, me_format_options). This ensures native integration with Sulu’s media workflows (e.g., crops, formats, storage).@2x crop sync without using the rename command).bundles.php.@2x crop sync works via Symfony events (MediaCropModifiedEvent), minimizing invasive changes to existing code.generate, duplicate, rename) are self-contained and can be run post-deployment (e.g., during migrations).rename command assumes standard filesystem storage. Cloud storage (S3, etc.) or custom adapters may require customization.image-formats.xml generation relies on strict YAML/XML schemas. Malformed input could break format definitions.rename command’s --dry-run is read-only; edge cases (e.g., locale-specific filenames) may need manual validation.rename command works with the adapter.image-formats.xml and crop settings currently managed? Will this bundle replace or augment existing workflows?@2x crop sync introduce noticeable overhead during crop updates?rename command modifies storage/database. Are backups in place for rollback scenarios?--locale flag thoroughly.@2x crop sync integrates via Symfony events, avoiding template or controller changes.image-formats.xml and crop settings for @2x inconsistencies.me_format_options).composer.json and register the bundle.alengo:media:image-format-options:duplicate to backfill existing @2x crops.image-formats.xml via alengo:media:image-formats:generate.@2x crops sync automatically via the event subscriber.rename command in a non-production environment.@2x crops).media.rename.handler).sulu/media-bundle).| Phase | Task | Priority |
|---|---|---|
| Discovery | Audit current media/crop workflows. | High |
| Installation | Composer + bundle registration. | Medium |
| Data Prep | Backup + run duplicate command. |
High |
| Format Setup | Generate/update image-formats.xml. |
High |
| Testing | Validate @2x sync, rename command, and edge cases. |
Critical |
| Rollout | Deploy to staging/production with monitoring. | High |
| Post-Launch | Monitor performance (e.g., crop sync latency) and user feedback. | Medium |
image-formats.yaml requires manual updates for new formats.monolog handlers for:
@2x sync issues: Check MediaCropModifiedEvent listeners and me_format_options table.@2x crop sync: Minimal impact if crops are infrequently updated. For high-volume sites, benchmark event listener overhead.rename command: I/O-bound (filesystem/database). Test with large media libraries.| Scenario | Impact | Mitigation |
|---|---|---|
Corrupted image-formats.xml |
Broken media rendering | Backup XML before generation. |
@2x crop sync conflict |
Inconsistent crop regions | Validate me_format_options post-deploy. |
| Rename command storage failure | Orphaned media entries | Use --dry-run first; monitor logs. |
| YAML schema errors | Partial format generation | Validate YAML before running commands. |
| Sulu upgrade incompatibility | Bundle breaks | Test with Sulu 3.x minor updates. |
@2x crop consistency benefits.How can I help you explore Laravel packages today?