PHPackages                             custobar/custobar\_m2\_custoconnector - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. custobar/custobar\_m2\_custoconnector

ActiveMagento2-module

custobar/custobar\_m2\_custoconnector
=====================================

Custobar magento connector

2.1.1(3y ago)012.1k↓35%1[3 issues](https://github.com/Custobar/magento2-plugin/issues)[1 PRs](https://github.com/Custobar/magento2-plugin/pulls)MITPHP

Since Apr 16Pushed 1y ago3 watchersCompare

[ Source](https://github.com/Custobar/magento2-plugin)[ Packagist](https://packagist.org/packages/custobar/custobar_m2_custoconnector)[ Docs](https://custobar.com/)[ RSS](/packages/custobar-custobar-m2-custoconnector/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (5)Used By (0)

Custobar\_CustoConnector
========================

[](#custobar_custoconnector)

CustoConnector is used to send usage statistics from the Magento installation to the Custobar API

Release Information
-------------------

[](#release-information)

*CustoConnector for M2*

System Requirements
-------------------

[](#system-requirements)

- PHP 8.1
- Magento 2.4.4 or newer

NOTE: Module requires that the Magento [cron](http://devdocs.magento.com/guides/v2.0/config-guide/cli/config-cli-subcommands-cron.html) is correctly configured and running

Installation
------------

[](#installation)

Add a `repositories` object to the `composer.json`

```
     "repositories": [
        {
            "type": "git",
            "url": "https://github.com/Custobar/magento2-plugin"
        }
     ]

```

Add requirement `custobar/custobar_m2_custoconnector`

```
    {
        "require": {
            "custobar/custobar_m2_custoconnector": "dev-master"
        }
    }

```

Run `php bin/magento module:enable Custobar_CustoConnector` and `php bin/magento setup:upgrade`

### After installing

[](#after-installing)

Go to `Stores / Settings / Configuration / Custobar / CustoConnector / Configuration` to setup the module.

Input the supplied `Client identifier` and `Api key`.

At least one `Allowed websites to send data from` needs to be selected.

You can also add the `Custobar tracking script` what can be generated at `https://clientidentifier.custobar.com/tracking-script/`.

Copy and paste the code *without* the following lines:

```
// remove these
cstbrConfig.productId = 'place_product_id_here';
cstbrConfig.customerId = 'place_customer_id_here';
```

Remember to flush Magento's caches after changing the values.

Go to `System / Custobar / Custobar Status` to view the status or start an initial scheduling.

Magento crons run above the /pub folder so If you are running Magento frontend from the pub folder and get media urls with "pub" and they can't be accessed then update settings:

- Under Stores / Settings / Configuration / General / Web / Base Urls and Base Urls (Secure):

    Change the `Base URL for User Media Files` to:

    `{{unsecure_base_url}}media/`

    Change the `Secure Base URL for User Media Files` to:

    `{{secure_base_url}}media/`

Update notices
--------------

[](#update-notices)

### 4.0.0:

[](#400)

- Support for Magento 2.4.8 and PHP 8.4. Installing still works on 2.4.4 and upwards

### 3.0.0:

[](#300)

- Dropped support for currently unsupported Magento versions, so as of July 2023 the oldest supported version is 2.4.4
- Dropped InstallSchema and UpgradeSchema scripts and replaced these with the new declarative schema definition
- Updated construction of cURL client (for Custobar API calls) to support 2.4.6 but also 2.4.4 and 2.4.5
- Brought test definitions up to date so that they can be run in newer Magento test frameworks
- Fixed several code sniffer related warnings to make sure that catching actual errors is easier
- Fixed issue with order placement time not exporting with correct value to Custobar API
- Fixed issue with sku resolving not always working in Commerce edition due to the row\_id and entity\_id differences

### 2.1.1:

[](#211)

- Add compatibility with Magento 2.4.5 &amp; PHP 8.1

### 2.1.0:

[](#210)

- Fixed issue where entities that were restricted to certain websites still got scheduled for export for all websites
- Added possibility to specify field mappings per store view in admin
- Added possibility to automatically add domain on field mappings
- Fixed issue where applying/expiring special prices would not automatically cause product to be scheduled for export

### 2.0.0:

[](#200)

- Module refactored to better follow Magento standards and improve general code quality
- Admin view for logs added
- Tracked models admin config removed and replaced with a more straightforward solution

### 1.1.1:

[](#111)

- fixes null product issue
- remove urls for product that aren't visible by them self as magento gives a non nice url for them

### 1.1.0:

[](#110)

- Maps select/dropdown attribute labels to Custobar correctly

    Example `manufacturer>brand`
- New fields for Magento\\Catalog\\Model\\Product&gt;products

    custobar\_child\_ids&gt;mage\_child\_ids and custobar\_parent\_ids&gt;mage\_parent\_ids

    Update tracked models with (remember to keep your own modifications)

    ```
    Magento\Catalog\Model\Product>products:
      name>title;
      sku>external_id;
      custobar_minimal_price>minimal_price;
      custobar_price>price;
      type_id>mage_type;
      configurable_min_price>my_configurable_min_price;
      custobar_attribute_set_name>type;
      custobar_category>category;
      custobar_category_id>category_id;
      custobar_image>image;
      custobar_product_url>url;
      custobar_special_price>sale_price;
      description>description;
      custobar_language>language;
      custobar_store_id>store_id;
      custobar_child_ids>mage_child_ids;
      custobar_parent_ids>mage_parent_ids,
     Magento\Customer\Model\Customer>customers:
      firstname>first_name;
      lastname>last_name;
      id>external_id;
      email>email;
      custobar_telephone>phone_number;
      custobar_street>street_address;
      custobar_city>city;
      custobar_postcode>zip_code;
      custobar_country_id>country;
      custobar_created_at>date_joined;
      store_id>store_id,
     Magento\Customer\Model\Address>*Magento\Customer\Model\Customer:
      customer_id>id,
     Magento\Sales\Model\Order>sales:
      custobar_state>sale_state;
      increment_id>sale_external_id;
      customer_id>sale_customer_id;
      custobar_created_at>sale_date;
      customer_email>sale_email;
      store_id>sale_shop_id;
      custobar_discount>sale_discount;
      custobar_grand_total>sale_total;
      custobar_payment_method>sale_payment_method;
      custobar_order_items>magento__items,
     Magento\Newsletter\Model\Subscriber>events:
      subscriber_email>email;
      customer_id>customer_id;
      custobar_status>type;
      custobar_date>date;
      store_id>store_id

    ```

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 89.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~607 days

Total

2

Last Release

1251d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/46e73b3ce4c0785b79a9ff4698320e41322a1218354de32eafbf4cfafe40bea2?d=identicon)[Stefandre90](/maintainers/Stefandre90)

---

Top Contributors

[![jooname](https://avatars.githubusercontent.com/u/36262953?v=4)](https://github.com/jooname "jooname (17 commits)")[![custobarltd](https://avatars.githubusercontent.com/u/22813042?v=4)](https://github.com/custobarltd "custobarltd (2 commits)")

### Embed Badge

![Health badge](/badges/custobar-custobar-m2-custoconnector/health.svg)

```
[![Health](https://phpackages.com/badges/custobar-custobar-m2-custoconnector/health.svg)](https://phpackages.com/packages/custobar-custobar-m2-custoconnector)
```

###  Alternatives

[fastly/magento2

Fastly CDN Module for Magento 2.4.x

1564.2M1](/packages/fastly-magento2)[mage-os/module-automatic-translation

Automatic AI content translation for Mage-OS.

277.1k](/packages/mage-os-module-automatic-translation)[zepgram/module-rest

Technical module to industrialize API REST call with dependency injection pattern using Guzzle library

1326.2k](/packages/zepgram-module-rest)[graycore/magento2-graphql-introspection-cache

1015.2k](/packages/graycore-magento2-graphql-introspection-cache)[mage-os/mageos-common-async-events

Send REST requests to external endpoints asynchronously. This module implements the most common events like order creation and customer change.

147.7k2](/packages/mage-os-mageos-common-async-events)[mage-os/module-inventory-reservations-grid

Add a grid with the list of inventory reservations.

126.8k](/packages/mage-os-module-inventory-reservations-grid)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
