Download the PHP package divante/magento2-vsbridge-indexer without Composer

On this page you can find all versions of the php package divante/magento2-vsbridge-indexer. 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-vsbridge-indexer

Divante AlokaiIndexer Extension for Magento2

Stay connected

GitHub Repo stars Twitter Follow YouTube Channel Subscribers Discord

Branch stable Branch Develop

This projects is a native, Magento2 data indexer for Alokai - first Progressive Web App for e-Commerce. It fills the ElasticSearch data index with all the products, categories and static information required by Alokai to work.

Note on mage2alokai project: This native indexer updates the ElasticSearch index in the very same format like the mage2alokai. Our intention was to speed up the indexation process and make it more reliable. With native indexer we were able to use the Magento2 ORM and events to optimize the indexation process. Please do use this module instead of mage2alokai if You experience any issues regarding indexing performance. Both projects are currently supported.

Alokai is a standalone PWA storefront for your eCommerce, possible to connect with any eCommerce backend (eg. Magento, Pimcore, Prestashop or Shopware) through the API.

Video demo

See how it works! Sign up for a demo at https://vuestorefront.io/ (Alokai integrated with Pimcore OR Magento2).

Overview

Version 1.5.0/1.5.1 - support for aliases.

Command php bin/magento vsbridge:reindex --all will reindex all data to new index. It will create new index and update aliases at the end.

If you used previous versions, you will have to delete index (created with this extension) from ES manually: If you won't do that, you will get error when running "error":{"root_cause":[{"type":"invalid_alias_name_exception","reason":"Invalid alias name [vue_storefront_magento_1], an index exists with the same name as the alias"

Installation/Getting Started

Installation/Getting Started - MSI support

Not fully supported, few fields are exported to ES. From inventory indexer: -- qty => qty, -- is_salable => is_in_stock/stock_status

Example

Website 1

Website 2

Magento Configuration

Configure the module in Magento panel and run full indexation.

Check configuration here

Update Alokai/Alokai-API configuration

Important: It is crucial to update configuration elasticsearch.index in the Alokai and elasticsearch.indices in Alokai-API

Index Alias Prefix → define prefixes for ElasticSearch indexes. The panel allows adding prefix only to the catalog name e.g.: vue_storefront_catalog. For each store (store view) index name is generated on the base of defined prefix and either ID or Store Code. Aliases cannot be created.
Example: When we define following indexes: vue_storefront_catalog_1, vue_storefront_catalog_2, "vue_storefront_catalog_3".

Index Identifier → defines the unique store identifier to append to the ElasticSearch indexes. The default value is ID which will append the Store ID to the index name e.g.: vue_storefront_catalog_1. You can choose to change this to Store Code which will add the Store Code to the index name e.g.: vue_storefront_catalog_storecode.

Example with Store ID

Alokai config (base on default index prefix name: vue_storefront_magento)

"vue_storefront_magento_1" - index for store view with id 1

Alokai-API config

Example with Store Code

Alokai config (base on default index prefix name: vue_storefront_magento)

"vue_storefront_magento_en_us" - index for store view with code "en_us"

Alokai-API config

Running the full indexation:

There are two options to run full indexations

  1. Indexation of new indexes.

In general, this indexation can be run in any order. It is worth, to begin with taxrule as it is the fastest.

  1. Reindexation of all indexes

Recommended for smaller databases. In the case of big databases it is better to run commands manually.

or

Note: If a docker with ElasticSearch is disabled, Indexer will display error: "No alive nodes found in your cluster".

Single Entity Indexing:

You can use single entity indexing while debugging or triggering an update for the index for a single entity.

You must provide an index-name, a store ID and an entity ID. If you need a list off all available index-names, you can use php bin/magento indexer:status. All the relevant indexes are prefixed with vsbridge_

Update on Save Mode

Update on Save mode works for the following operations:

Update on Schedule Mode

Update on Schedule mode observes changes in corresponding tables, and probably will be more relevant in most cases. It is the default mode in any bigger stores.

Compatibility

-- Alokai >= 1.4.4 Module was tested on: -- Magento Community version 2.2.7. It should perform without any issues on Magento 2.2.* and above versions.

-- Magento Commerce version 2.3.0. The bridge indexer cannot be installed on lower versions of Magento Enterprise.

-- You can install module on Magento 2.3. Commerce, but you still need `ES 5.to export data. Module will work with library [elasticsearch/elastichsearch](https://github.com/elastic/elasticsearch/) (5.,6.`)

TODO


All versions of magento2-vsbridge-indexer with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0.2
magento/framework Version >=101.0.0
magento/module-store Version >=100.2.0
magento/module-backend Version >=100.2.0
magento/module-catalog Version >=102.0.0
magento/magento-composer-installer Version *
elasticsearch/elasticsearch Version ~5.1|~6.1
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 divante/magento2-vsbridge-indexer contains the following files

Loading the files please wait ....