承接 synolia/sylius-akeneo-plugin 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

synolia/sylius-akeneo-plugin

最新稳定版本:v5.0.0-rc1

Composer 安装命令:

composer require synolia/sylius-akeneo-plugin

包简介

Akeneo connector for Sylius.

README 文档

README

License CI - Analysis CI - Sylius Version Total Downloads

Sylius Logo.

Sylius Akeneo Plugin

This plugin allow you to import data from Akeneo PIM.

Features

Requirements

Version
PHP ^8.2
Sylius ^2.0
Akeneo PIM >=v6.0

Installation

  1. Add the bundle and dependencies in your composer.json :

    composer require synolia/sylius-akeneo-plugin --no-scripts
  2. Enable the plugin in your config/bundles.php file by add

    Synolia\SyliusAkeneoPlugin\SynoliaSyliusAkeneoPlugin::class => ['all' => true],
  3. Import required config in your config/packages/_sylius.yaml file:

    imports: - { resource: "@SynoliaSyliusAkeneoPlugin/config/config.yaml" }
  4. Import routing in your config/routes.yaml file:

    synolia_akeneo: resource: "@SynoliaSyliusAkeneoPlugin/config/routes.yaml" prefix: '/%sylius_admin.path_name%'
  5. Add Asset trait to Product.php and ProductVariant.php entities and add TaxonAttributes trait to Taxon entity

    <?php declare(strict_types=1); namespace App\Entity\Product; use App\Entity\Product\ProductTranslation; use Doctrine\ORM\Mapping as ORM; use Sylius\Component\Core\Model\Product as BaseProduct; use Sylius\Component\Product\Model\ProductTranslationInterface; use Synolia\SyliusAkeneoPlugin\Entity\ProductAssetTrait; #[ORM\Entity] #[ORM\Table(name: 'sylius_product')] class Product extends BaseProduct { use ProductAssetTrait { __construct as private initializeAssetsCollection; } public function __construct() { parent::__construct(); $this->initializeAssetsCollection(); } protected function createTranslation(): ProductTranslationInterface { return new ProductTranslation(); } }
    <?php declare(strict_types=1); namespace App\Entity\Product; use Doctrine\ORM\Mapping as ORM; use Sylius\Component\Core\Model\ProductVariant as BaseProductVariant; use Sylius\Component\Product\Model\ProductVariantTranslationInterface; use Synolia\SyliusAkeneoPlugin\Entity\ProductVariantAssetTrait; #[ORM\Entity] #[ORM\Table(name: 'sylius_product_variant')] class ProductVariant extends BaseProductVariant { use ProductVariantAssetTrait { ProductVariantAssetTrait::__construct as private initializeAssetsCollection; } public function __construct() { parent::__construct(); $this->initializeAssetsCollection(); } protected function createTranslation(): ProductVariantTranslationInterface { return new ProductVariantTranslation(); } }
    <?php declare(strict_types=1); namespace App\Entity\Taxonomy; use Doctrine\ORM\Mapping as ORM; use Sylius\Component\Core\Model\Taxon as BaseTaxon; use Sylius\Component\Taxonomy\Model\TaxonTranslationInterface; use Synolia\SyliusAkeneoPlugin\Component\TaxonAttribute\Model\TaxonAttributeSubjectInterface; use Synolia\SyliusAkeneoPlugin\Entity\TaxonAttributesTrait; #[ORM\Entity] #[ORM\Table(name: 'sylius_taxon')] class Taxon extends BaseTaxon implements TaxonAttributeSubjectInterface { use TaxonAttributesTrait { __construct as private initializeTaxonAttributes; } public function __construct() { parent::__construct(); $this->createTranslation(); $this->initializeTaxonAttributes(); } protected function createTranslation(): TaxonTranslationInterface { return new TaxonTranslation(); } }
  6. Apply plugin migrations to your database:

    bin/console doctrine:migrations:migrate
  7. Clear cache

    bin/console cache:clear

Development

Akeneo Enterprise Edition

Reference Entity and Asset attribute types

License

This library is under the EUPL-1.2 license.

Credits

Developed by Synolia.

统计信息

  • 总下载量: 93.77k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 25
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 25
  • Watchers: 12
  • Forks: 24
  • 开发语言: PHP

其他信息

  • 授权协议: EUPL-1.2
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固