Documentation
Overview content is shown below. Use the menu to open other pages.
CLI Commands
Integration
- `php artisan integration:register`
- `php artisan integration:setup`
- `php artisan integrations:health-check {--fix}`
- Reads `config/integrations.php`, validates driver configuration against each Driver’s schema, and upserts `integrations`.
- Interactive setup using `Laravel\Prompts` to create a new Integration record selecting a Driver.
- Checks health of configured integrations; `--fix` reserved for future automated repairs.
Akeneo
- `php artisan akeneo:import:data {entity} {--codes=} {--full}`
- `entity`: `product|attribute|family|category`.
- `--codes=code1,code2` restricts to specific identifiers/codes for the entity.
- `--full` skips incremental filtering (ignores updated-date filter) but still updates the last-synced timestamp.
- Uses repositories (`AkeneoProductRepository`, `AkeneoAttributeRepository`, `AkeneoFamilyRepository`, `AkeneoCategoryRepository`).
- Actions map Akeneo payloads to local tables (`ImportProductAction`, `ImportProductAttributeAction`, `ImportFamilyAction`, `ImportCategoryAction`).
- Filtering is built dynamically via builders configured in `config/akeneo.php` under `entity.filter.builder`:
- `UpdatedDateBuilder` adds `updated` filter from the settings table (per-entity groups: `pim_attribute`, `pim_product`, `pim_family`, `pim_category`, using `name=updated_at`).
- `NotEmptyFamilyBuilder` adds `family NOT EMPTY` for product imports.
- The incremental filter shape is equivalent to:
- `['updated' => [['operator' => '>', 'value' => '2025-12-18T06:00:00+00:00']]]` (ISO 8601 datetime)
- After each import run, the command updates settings `updated_at` for the processed entity to the current time (ISO 8601) for the next incremental run.
- Akeneo client: https://github.com/akeneo/php-api-client
Testing & Utilities
- `php artisan test:product-integration {uuid?}`
- `php artisan horizon`
- Flips a product’s enabled flag and updates a price attribute to exercise the mutation pipeline.
- Starts Horizon supervisors and dashboard.
Docs Index
- Overview docs/iec/00-overview.md
- Quickstart docs/iec/01-quickstart.md
- Architecture docs/iec/02-architecture.md
- Data Model docs/iec/03-data-model.md
- Queues & Horizon docs/iec/04-queue-and-horizon.md
- CLI Commands docs/iec/05-commands.md
- Integrations & Drivers docs/iec/06-integrations-and-drivers.md
- Akeneo → Magento 2 docs/iec/07-akeneo-to-magento2.md
- Operations & Troubleshooting docs/iec/08-operations-and-troubleshooting.md
- Mutations docs/iec/09-mutations.md
- Integration Contracts docs/iec/10-integration-contracts.md
- Dashboard docs/iec/11-dashboard.md
- Maintenance & Retention docs/maintenance.md
Current file: docs/iec/05-commands.md