Download the PHP package pricemind/magento-connector without Composer

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

Pricemind Magento Module

A Magento 2 module that automatically tracks product price changes and synchronizes them with the Pricemind API for competitive price monitoring and analysis.

Features

Requirements

Installation

Via Composer (Recommended)

Manual Installation

  1. Download the module files
  2. Extract to app/code/Stellion/Pricemind/
  3. Run the following commands:

Configuration

Admin Configuration

  1. Navigate to Stores → Configuration → Pricemind → API
  2. Configure the following settings:

API Settings

Source Detection

The module automatically detects and displays:

Multi-store Configuration

The module supports website-level configuration:

  1. Set Configuration Scope to your desired website
  2. Configure API settings for each website independently
  3. Each website can use different Pricemind channels

How It Works

Price Change Detection

The module listens for the catalog_product_save_commit_after event and detects changes in:

API Integration

When a price change is detected, the module:

  1. Sends Price Data to POST /v1/channels/{channelId}/prices:

  2. Sends Special Price Dates to PUT /v1/custom-fields:

Custom Fields Mapping

Special price date ranges are mapped to custom fields:

Error Handling

Failed API requests are stored in the stellion_pricemind_failed_request table with:

Database Schema

The module creates one table:

stellion_pricemind_failed_request

Stores failed API requests for potential retry processing:

Column Type Description
entity_id INT Primary key
endpoint VARCHAR(255) Target API endpoint
method VARCHAR(16) HTTP method
headers TEXT Request headers (JSON)
payload TEXT Request payload (JSON)
error TEXT Last error message
retry_count INT Number of retry attempts
status SMALLINT Status (0=pending, 1=retrying, 2=abandoned, 3=sent)
next_attempt_at TIMESTAMP Next retry timestamp
created_at TIMESTAMP Created timestamp
updated_at TIMESTAMP Updated timestamp

API Endpoints Used

The module integrates with these Pricemind API endpoints:

Security

Performance Considerations

Troubleshooting

Common Issues

  1. No price updates sent:

    • Verify API key is configured and valid
    • Check channel ID is selected
    • Ensure product prices are actually changing
  2. API connection errors:

    • Verify Base URL is correct
    • Check firewall/network connectivity
    • Review error logs in var/log/system.log
  3. Channel not loading:
    • Save API key configuration first
    • Check API key format: <key_id>.<version>.<secret>
    • Verify API key has channel access

Logging

The module logs events with the prefix [Stellion_Pricemind]:

Check logs in:

Failed Requests

Monitor failed requests in the database:

Development

Module Structure

Extending the Module

To extend functionality:

  1. Add Custom Fields: Modify the observer to send additional product attributes
  2. Retry Logic: Implement cron job to retry failed requests
  3. Bulk Updates: Add CLI command for bulk price synchronization
  4. Webhooks: Add webhook endpoint for bidirectional sync

Support

For technical support or feature requests:

License

This module is released under the MIT License. See LICENSE file for details.

Changelog

Version 1.0.0


All versions of magento-connector with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
magento/framework Version *
magento/module-catalog Version *
magento/module-store Version *
magento/module-config 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 pricemind/magento-connector contains the following files

Loading the files please wait ....