Download the PHP package bymayo/akeneo without Composer

On this page you can find all versions of the php package bymayo/akeneo. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package akeneo

Akeneo for Craft CMS 5

Akeneo is a Craft CMS plugin that syncs products and data from Akeneo PIM into Craft CMS.

Features

NOTE: This plugin only imports products and data from Akeneo. It does not export data to Akeneo.

Install

Requirements

Setup

1. Configure API Settings

Navigate to Settings > Plugins > Akeneo and enter your Akeneo PIM API credentials:

Setting Description
API URL The base URL of your Akeneo PIM instance
Client ID The Akeneo API client ID
Secret Key The Akeneo API secret key
Username The Akeneo API username
Password The Akeneo API password

All credential fields support environment variables.

A connection status indicator at the top of the settings page will confirm if your credentials are valid.

2. Create a Source

Navigate to the Akeneo section in the CP sidebar and click New Source:

  1. Give the source a Name
  2. Select the Type (Craft Section or Commerce Product Type)
  3. Set the Orphaned Entry Action (Do Nothing, Disable, or Delete)
  4. Choose an Entry Identifier field for matching existing entries during sync (e.g. SKU)
  5. Select the Akeneo Locale to pull attribute values from
  6. Optionally select a Site to import entries into
  7. Optionally add Product Filters to limit which products are synced

Product Filters

Each filter row has three parts: an attribute code (e.g. sku, enabled), an operator, and a value. Only products matching every filter are synced. The value format depends on the operator:

Operator Value format Example
=, != Single value — true, false, a number, or text true
<, >, <=, >= A number or date 2024-01-01
IN, NOT IN Comma-separated list red,green,blue
CONTAINS, DOES NOT CONTAIN Text to match shirt
STARTS WITH Prefix text SKU-
BETWEEN, NOT BETWEEN Two comma-separated bounds (min,max) 10,20
EMPTY, NOT EMPTY No value (the value field is hidden)

The value field's placeholder updates to hint the expected format as you change the operator.

3. Map Fields

After saving the source, navigate to the Field Mapping tab. Map each Craft field to an Akeneo attribute, a static value, or leave unmapped.

Supported field types:

SuperTable isn't supported. If you're upgrading from Craft 4 and still using SuperTable, switch those fields over to Matrix before setting up your mappings:

The plugin only walks native Matrix fields, so any asset fields tucked inside a SuperTable will fail with "No volume provided for asset..." until they're migrated.

Commerce Variant Fields

When the source type is a Commerce product type, the following special fields can be mapped to sync the default variant:

4. Run a Sync

Syncs can be triggered from:

Test Sync

Test Sync is a quick way to check your setup before kicking off a full import. It works just like Sync All, with two key differences:

It's handy when you want to:

You'll find Test Sync in the Action dropdown on both the Sources index and each Source edit page, marked with a terminal icon.

Export, Import & Duplicate

Sources can be moved between environments without using Project Config, so users keep the freedom to create sources directly on any environment.

Console Commands

Each source has a Console Commands tab with copy-paste ready commands (Replacing source=1 with your source ID):

The test action mirrors Test Sync in the control panel — it pulls a small batch and skips orphan handling. Without --limit it uses the Test Sync Limit setting (default 10).

Permissions

The plugin registers three permissions under Settings > Users > Permissions:

Permission Description
Manage Sources Access and manage Akeneo sources in the control panel
View Widgets View and add Akeneo sync widgets on the dashboard
Clear Cache Clear Akeneo attribute and locale caches

Custom Queue

By default, sync jobs run on the default Craft queue. Enable Custom Queue in the Queue settings tab to run them on a dedicated akeneo queue channel instead.

When enabled, run the worker as a separate process:

This prevents long-running syncs from blocking other Craft queue jobs.

After updating the plugin, restart the queue listener so new features (like the Log) are picked up.

To manage and monitor the custom queue from the control panel, we recommend installing the Custom Queue Manager and Queue Monitor plugins.

Config File

You can override plugin settings by creating a config/akeneo.php file in your Craft project:

Setting Default Description
apiUrl null The base URL of your Akeneo PIM instance
clientId null The Akeneo API client ID
secretKey null The Akeneo API secret key
username null The Akeneo API username
password null The Akeneo API password
attributeCacheDuration 21600 How long (in seconds) to cache Akeneo attributes. Set to 0 to disable
syncPageSize 75 Number of products to fetch per API request during sync
syncMaxPages 1000 Maximum number of pages to fetch during a sync
testSyncLimit 10 Default product limit for a Test Sync. Override per-run with --limit on the console command
assetFolderName Akeneo The folder name within the volume where Akeneo images are stored
customQueue false Run sync jobs on a dedicated queue instead of the default Craft queue
jobPriority 1024 Priority for sync jobs. Lower numbers run first. Only applies to the default queue
jobTtr 300 Maximum time (in seconds) a job can run before it is retried

Upgrading from Craft 4

Coming from Craft 4 with SuperTable fields? You'll need to convert those over to Matrix before your first sync — see the note under Setup → Map Fields for details.

Support

If you have any issues (Surely not!) then I'll aim to reply to these as soon as possible. If it's a site-breaking-oh-no-what-has-happened moment, then hit me up on the Craft CMS Discord - @bymayo


All versions of akeneo with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
akeneo/api-php-client Version ^11.0
craftcms/cms Version ^5.8.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package bymayo/akeneo contains the following files

Loading the files please wait ...