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.
composer require installation with bundle registration in config/bundles.php is low-effort.product.save), this bundle won’t help—it’s purely operational.clear-archives and clear-models-without-children could disrupt production if run without safeguards (e.g., backups, dry runs).clear-archives).candm:* vs. akeneo:*).| Step | Action | Owner | Dependencies |
|---|---|---|---|
| 1 | Verify Akeneo version compatibility | TPM/Dev | Akeneo instance |
| 2 | Install bundle via Composer | DevOps | Composer access |
| 3 | Register bundle in bundles.php |
Dev | Symfony config |
| 4 | Test commands in staging | QA/Dev | Staging Akeneo |
| 5 | Schedule commands in CI/CD | DevOps | Backup process |
| 6 | Monitor production usage | SRE | Logging/alerting |
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: Risk of accidental data loss—validate with business teams.clear-archives needing write access to Akeneo’s var/).var/log/) will be critical 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/ |
list-unused-options |
False positives (options still referenced elsewhere) | Manual audit before action |
clear-models-without-children |
Deletes critical empty models | Backup database, test in staging |
| All | Permission denied (e.g., var/ access) |
Run as Akeneo’s web user (e.g., www-data) |
list-unused-options is safe to auto-delete).clear-archives).list-unused-options).How can I help you explore Laravel packages today?