Download the PHP package lupasearch/magento2-lupasearch-plugin without Composer

On this page you can find all versions of the php package lupasearch/magento2-lupasearch-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 magento2-lupasearch-plugin

LupaSearch Magento 2 Plugin

Introduction

The LupaSearch Magento 2 Plugin integrates LupaSearch's search functionality into your Magento 2 store, providing enhanced search capabilities that improve the user experience.

Requirements

Installation

1. Install with Composer

Install the core LupaSearch plugin:

If RabbitMQ is not available, include the MySQL queue compatibility extension:

2. Enable modules

If the MySQL queue compatibility extension is installed, enable it as well:

3. Run installation scripts

Change Indexer Mode to "On Schedule" (only works on this mode)

Enable cache

💡 Before indexing, make sure your index mappings are already configured. If your product, category, or suggestion mappings do not exist yet, use the examples available here: https://github.com/lupasearch/magento2-plugin/tree/main/examples/mapping

To update a mapping, use the mapping endpoints available in the LupaSearch API: https://console.lupasearch.com/docs/api#tag/Mapping

Configure the extension

1. Initial configurations

Navigate to Stores -> Configuration -> Catalog -> LupaSearch in your Magento admin panel.

Configure the following settings:

Click Save Config to apply your changes.

2. Generate search configurations

After saving the initial settings, go to the LupaSearch Queries Management section in your Magento admin panel. Click the Generate All Queries button. A confirmation message, "Queries successfully generated," will appear once the process is complete. To verify, go to the Search Queries page in the LupaSearch Dashboard and confirm that all queries are created successfully.

Synchronize data

1. Indexing

Reindex the data:

Manually run the indexer to refresh the data:

2. Run consumers

Start the LupaSearch queue consumers to process queued tasks:

3: Verify data

  1. Log in to the LupaSearch Console.
  2. Navigate to your product index.
  3. Verify that your products and categories are correctly indexed and available.

Adding Custom Product Attributes

To add custom attributes to the product feed, follow these steps:

  1. Review existing Hydrators used in the plugin: https://github.com/lupasearch/magento2-plugin/tree/main/Model/Product/Hydrator

  2. Create your own Hydrator class implementing the logic for your custom attribute.

  3. Register the new Hydrator in di.xml by adding it to the hydrator pool, for example: https://github.com/lupasearch/magento2-plugin/blob/main/etc/di.xml#L476

  4. Go to your index mapping and add the new attribute field.

  5. Add the new attribute to your search query configuration.

Support

For questions or assistance, contact us at [email protected].


All versions of magento2-lupasearch-plugin with dependencies

PHP Build Version
Package Version
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 lupasearch/magento2-lupasearch-plugin contains the following files

Loading the files please wait ...