Download the PHP package emico/magento-2-robinhq without Composer

On this page you can find all versions of the php package emico/magento-2-robinhq. 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 magento-2-robinhq

Magento 2 RobinHQ module

Build Status

Provides API integrations with the RobinHQ platform / dashboards

Installation

Prerequisites

Install package using composer

Run installers

Dynamic API

This module provides 5 endpoints for the RobinHQ dynamic API integration. This endpoints are called directly from within the RobinHQ dashboard, providing the latest up to date information from Magento.

The following endpoints are available:

Those are accessible from the root of your magento domain. http://my.shop.nl/robinhq/api/customer

To enable the dynamic API functionality you have to enable it in the configuration.

Stores -> Configuration -> Emico -> RobinHQ -> Enable dynamic API

Authentication

The authentication of the dynamic API is done by a pre shared key which must be communicated to RobinHQ.

You can define an API key and secret in the RobinHQ configuration.

When issueing requests to the dynamic API endpoint you have to include a Basic authentication header. The value you have to sent is a base64-encoding of {apiKey}:{apiSecret}.

For example you have set up API key to abc and API secret to def. The value would be base64(abc:def), which resolves to YWJjOmRlZg==. The full authorization header is: Authorization: Basic YWJjOmRlZg==

Customize panelview and detailview

Some endpoints provide the possibility to provide custom data in the Robin dashboards.

For example when retrieving customer details using /robinhq/api/customer the following payload is returned.

You can simply add custom attributes to these views in the configuration. Stores -> Configuration -> Emico -> RobinHQ -> Custom Attributes section.

When you need even more control or implement your own bussiness logic you can implement the interfaces DetailViewProviderInterface or CustomerPanelViewProviderInterface.

For example:

Register in your di.xml

Dynamic API POST requests

For complete integration with Robin dynamic API the Magento module needs to issue POST requests to the RobinHQ platform.

For this functionality to work correctly it is mandatory to have a working RabbitMQ instance. You can read more about setting this up in the Magento documentation.

Use the following command to process the message queue: bin/magento queue:consumers:start EmicoRobinHq

You can configure this in a cronjob or preferably using supervisor.

Frontend widgets

This module provides a widget to display the RobinHQ tracking script on your website. This makes it possible to gain insight into all products viewed by the customer and the contents of the shopping cart. Should work out of the box with the default Luma theme.

See: https://developers.cm.com/mobile-service-cloud/docs/viewed-products

To enable this feature you have to enable it in the configuration.

Stores -> Configuration -> Emico -> RobinHQ -> Enable viewed products tracking


All versions of magento-2-robinhq with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0 <=8.4
emico/robinhq-lib Version ^4.0
magento/module-customer Version 101.*|102.*|103.*
magento/module-catalog Version 102.*|103.*|104.*
magento/module-sales Version 101.*|102.*|103.*
magento/module-config Version 101.*
magento/framework Version 101.*|102.*|103.*
laminas/laminas-diactoros Version ^2.0|^3.0
webmozart/assert Version ^1.4
ext-json 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 emico/magento-2-robinhq contains the following files

Loading the files please wait ....