3 min. read
Categories:
Sylius v0.12.0 with Faceted Search
Can you feel it? We are one step closer to the release. This time we added an awesome search functionality.
Sylius v0.12.0 with Faceted Search

After few months of hard work from the REISS team, especially Peter Ward and Argyrios Gounaris, we finally have a nice search functionality in Sylius!

Overview

The biggest new thing in this release is the Search system, which supports both Doctrine ORM driver and ElasticSearch!
We have also done several improvements and even more “foundation” work for the REST API, which coming very soon. I have already configured it for one project, now it is about moving it to the core. Sneak Peak!

Search

Until now, all Sylius stores running in production relied on the awesome Symfony2 ElasticSearch bundle.
As always, Sylius wants to make your life easier. Why would you need to do a lot of coding or pay (sic!) for a premium version in order to have powerful search?

From now on Sylius ships with SyliusSearchBundle, which can run on Doctrine ORM and ElasticSearch. In theory, we can add more drivers in the future, if community is interested in using Solr for example.

Obviously, the MySQL based solution is suitable for smaller stores, demo or just trying out Sylius locally without installing Java/ES.

Ok, so what the search can actually do?

Some of screenshots are from the new theme, which is a work in progress.

Faceted search

You can configure filters by price, options and attributes:

Search in categories

Of course, you can also search in a specific category:

Documentation and what is next

Documentation for this component is a work in progress, but configuration is really simple, because we actually use ElasticaBundle config schema.
Please keep in mind, that there will be a lot of improvements to both architecture and functionality of Sylius search, but it is already a good starter for your e-commerce apps. Enjoy!

Important changes coming to v0.13.x

In the development branch v0.13.x, I will merge a very important PR, which brings localization support.
This is a big change and contains multiple BC breaks. On the other hand, you get translatable products, options, attributes and even shipping methods… out of the box!

We provide a migration script, which is smart enough to update you to the new system and maintain the data. That being said, you use it at your own risk, please be careful.

More about this feature in the upcoming release blog post.

Installation

You can install and try the latest Sylius by running the following commands:

$ composer create-project -s dev sylius/sylius:v0.12.0
$ cd sylius
$ app/console sylius:install

To start a new project on top of Sylius, use Standard Edition:

$ composer create-project -s dev sylius/sylius-standard:v0.12.0 acme
$ cd acme
$ app/console sylius:install

Summary

As usually, huge thank you to all contributors and stay tuned for more!

Tags:
Share:
Paweł Jędrzejewski
Self-taught developer and entrepreneur, who has built an entire career and business through Open Source technology. Speaker at international conferences. PHPers meetups co-organizer. Keen on helping other young entrepreneurs and companies who may want to follow a similar path.
More from our blog
Cloud 3 min read 17.06.2024
We are thrilled to announce that we just signed a strategic partnership with Platform.sh, and as a result, we are extending our offer with Sylius Cloud powered by Platform.sh. Platform.sh is a modern Platform-as-a-Service (PaaS) solution that allows businesses to leverage the cloud environment without losing access to the code… Read More
Technical 3 min read 11.06.2024
Abstract 1.12 released in Q4 2022 1.13 on Apr 23rd, 2024 (a year later than we anticipated while releasing 1.12) 3859 commits 23 contributors A stabilized Sylius API powered by API Platform It’s been a long and bumpy road. Having it behind our backs was a highway that led Sylius… Read More
Business Ecosystem News 3 min read 06.06.2024
Welcome to the May summary! As an open-source eCommerce framework, Sylius continues to evolve with significant contributions from our vibrant community and valuable product updates. Apart from describing the technical changes, we will also quickly summarize the Sylius Technical Fundamentals & Sylius Polish Community Meetup and eCommerce Day Kaunas, as… Read More
Comments