monsieurbiz / SyliusSearchPlugin

A search plugin using Elasticsearch for Sylius
MIT License
45 stars 38 forks source link

Allow Sylius 1.13 #215

Closed maximehuran closed 1 month ago

maximehuran commented 2 months ago

Sylius 1.13 compatibility

closes #207

Compatibility

Sylius Version PHP Version
1.11 8.0 - 8.1
1.12 8.1 - 8.2
1.13 8.1 - 8.2

Requirement of nikic/php-parser downgrade version to 4.0

When setup Sylius 1.13, nikic/php-parser="^5.0" is installed, but jane-php/automapper requires nikic/php-parser="^4.0".

This is the last version of the Search plugin using jane-php/automapper. The next version will use jolicode/automapper, which is compatible with nikic/php-parser="^5.0". See #214

So to require the plugin, you need before to require nikic/php-parser="^4.0" :

composer require --no-progress --no-interaction nikic/php-parser="^4.0"
composer require monsieurbiz/sylius-search-plugin

Populate command

image

Front display

image

Taxon

image

Filtered

image

Search

image

Filtered

image

Admin product option

image

Admin product attribute

image