clickandmortar/akeneo-utils-bundle
Symfony bundle for Akeneo that adds handy utility commands: clear old archives, list unused attribute options, remove empty product models, and delete attributes while purging values without touching product modification dates.
bundles.php. However, non-Symfony PHP applications (e.g., Laravel) cannot use this bundle directly without significant refactoring.delete-attribute or clear-models-without-children can permanently alter data. Without proper safeguards (e.g., backups, dry runs), this could corrupt the catalog.composer require clickandmortar/akeneo-utils-bundle "^7.0"
config/bundles.php.clear-archives weekly).candm:* vs. akeneo:*). Check for overlaps.| Step | Action | Owner | Dependencies |
|---|---|---|---|
| 1 | Verify Akeneo version compatibility | TPM/Dev | Akeneo instance |
| 2 | Confirm product’s Akeneo dependency | Product Lead | Business requirements |
| 3 | Install bundle in staging Akeneo | DevOps | Composer, staging access |
| 4 | Test commands with dry runs/backups | QA/Dev | Staging data |
| 5 | Schedule commands in CI/CD | DevOps | Backup process |
| 6 | Document and train teams | TPM | Runbooks |
| 7 (Laravel) | Evaluate Akeneo integration strategy | TPM/Arch | Laravel-Akeneo sync |
clear-archives: Requires disk space monitoring and retention policy alignment.list-unused-options: May need manual review before deletion (Akeneo may not auto-purge).clear-models-without-children: High risk of accidental data loss—validate with business teams.delete-attribute: Critical data modification—ensure product modified dates are not updated (as per bundle description).clear-archives needing write access to var/).var/log/) are essential for debugging.clear-models-without-children could lock tables in large Akeneo instances. Test with sample data first.| Command | Failure Scenario | Mitigation |
|---|---|---|
clear-archives |
Deletes wrong files (e.g., active exports) | Dry-run mode, backup var/ |
How can I help you explore Laravel packages today?