Download the PHP package monsieurbiz/sylius-search-plugin without Composer

On this page you can find all versions of the php package monsieurbiz/sylius-search-plugin. 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 sylius-search-plugin

Search

Search Plugin license Tests Status Recipe Status Security Status

A search plugin for Sylius using Elastically and Jane.

Compatibility

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

Installation

If you want to use our recipes, you can configure your composer.json by running:

This is the last version using jane-php/automapper, which requires nikic/php-parser="^4.0". The next version will use jolicode/automapper, which is compatible with nikic/php-parser="^5.0".

If you are using Symfony Flex, the recipe will automatically do some actions.

For the installation without flex, follow these additional steps

Change your `config/bundles.php` file to add this line for the plugin declaration: Create the config file in `config/packages/monsieurbiz_sylius_search_plugin.yaml`: Create the route config file in `config/routes/monsieurbiz_sylius_search_plugin.yaml`: Copy the override templates: Finally configure plugin in your .env file by adding these lines at the end :

  1. Install Elasticsearch 💪. See Infrastructure below.

  2. Your ProductAttribute and ProductOption entities need to implement the MonsieurBiz\SyliusSearchPlugin\Entity\Product\SearchableInterface interface and use the MonsieurBiz\SyliusSearchPlugin\Model\Product\SearchableTrait trait. Example with the ProductAttribute:

  3. You need to run a diff of your doctrine's migrations: console doctrine:migrations:diff. Don't forget to run it! (console doctrine:migrations:migrate)

  4. Run the populate command.

Documentation

Documentation is available in the docs folder.

Infrastructure

The plugin was developed for Elasticsearch 7.16.x versions. You need to have analysis-icu and analysis-phonetic elasticsearch plugin installed.

Other information

Jane

We are using Jane to create a DTO (Data-transfer object).
Generated classes are on generated folder.
Jane configuration and JSON Schema are on src/Resources/config/jane folder.

To rebuild generated class during plugin development, we are using :

Elastically

The Elastically Client is configured in src/Resources/config/services.yaml file.
You can customize it in your .env file or if you want in config/services.yaml.
Analyzers and YAML mappings are on src/Resources/config/elasticsearch folder.


All versions of sylius-search-plugin with dependencies

PHP Build Version
Package Version
Requires babdev/pagerfanta-bundle Version ^2.5 || ^3.0
jacquesbh/eater Version ^2.0
jane-php/automapper-bundle Version ^7.1
jolicode/elastically Version ^1.4.0
monsieurbiz/sylius-settings-plugin Version ^1.2
php Version ^8.0
sylius/sylius Version >=1.11 <1.14
symfony/messenger Version ^4.4 || ^5.2 || ^6.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 monsieurbiz/sylius-search-plugin contains the following files

Loading the files please wait ....