# salesfire/magento2

> Salesfire Magento2

`composer require salesfire/magento2`

Canonical URL: https://packagento.com/salesfire/magento2

## At a glance

- **Vendor**: salesfire (https://packagento.com/salesfire.md)
- **Latest version**: 1.5.19 — released 2026-04-29
- **Pricing**: Free
- **Package type**: Magento 2 module
- **Status**: active, accepting new buyers

## Installation

Packagento is licence-gated, so even free packages need a licence on a project before Composer can resolve them.

1. **Sign in or create an account** at https://packagento.com/customer/account/.

2. **Add the package to your account.** Open https://packagento.com/salesfire/magento2 and complete the free checkout. A licence is minted automatically.

3. **Create or pick a project, then activate the licence on it.**
   - Projects represent the Magento installs you deploy to. Manage them at https://packagento.com/projects/.
   - Activate the new licence on the project you'll deploy this package to. Activation is what generates the Composer credentials scoped to that project.

4. **Add the project credentials to your Magento codebase.**

   Grab the project's public + private key from https://packagento.com/projects/ (open the project, then its Credentials tab), and add them to `auth.json`:

   ```json
   {
     "http-basic": {
       "packagento.com": {
         "username": "ppk_live_...",
         "password": "psk_live_..."
       }
     }
   }
   ```

   Add the Packagento Composer repository to `composer.json`:

   ```json
   {
     "repositories": [
       { "type": "composer", "url": "https://packagento.com" }
     ]
   }
   ```

5. **Install and apply.**

   ```bash
   composer require salesfire/magento2:*
   bin/magento setup:upgrade
   bin/magento setup:di:compile
   bin/magento cache:flush
   ```

## What it does

Salesfire Magento2

## README

Salesfire is a service that provides a number of tools that help to increase sales using various on site methods.

https://www.salesfire.co.uk/

Supported PHP versions: 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3, 8.4.


### FAQs

##### Q: Do you offer a free trial?
A: Yes, we offer a free 14 day trial.

##### Q: Is there any additional costs?
A: Yes, we provide the software which helps increase sales for a fee which is tailored to your business. This is to provide you with the best ROI as possible.

You can find out more information and even get a free trial at https://www.salesfire.co.uk/


### How to install

#### Method 1: Install via composer

```
composer require salesfire/magento2
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
```

#### Method 2: Manually install via composer

1. Access to your server via SSH
2. Create a folder (Not Magento root directory) in called: `salesfire`, then upload the zip package to salesfire folder.
Download the zip package at https://github.com/salesfire/magento2/archive/master.zip

3. Add the following snippet to `composer.json`

```
    {
        "repositories": [
            {
                "type": "artifact",
                "url": "path/to/root/directory/salesfire/"
            }
        ]
    }
```

4. Run composer command line

```
composer require salesfire/magento2
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
```


### How to setup

After installing you will need to enter your Salesfire details by following the steps below:

1. Navigate to the store configuration (Stores > Configuration)
2. Navigate to the Salesfire settings (Salesfire > General)
4. Populate the Site ID (This can be found within your Salesfire admin)
5. Mark enabled as Yes
6. Done


### Testing

You can setup a test magento using the following script:

```
docker-compose up -d
docker exec -ti <magento web container> install-magento
docker exec -ti <magento web container> install-sampledata
```

Admin login details:

admin / magentorocks1

## Changelog

#### Salesfire v1.5.19
Released on 2026-04-27
Released notes:

- Fall back to parent attribute value for additional attributes on child (simple) products where attribute value isn't available.

#### Salesfire v1.5.18
Released on 2026-03-16
Released notes:

- Fix product feed to respect Magento visibility settings. Products with visibility set to "Catalog" only are now excluded from the feed.

#### Salesfire v1.5.17
Released on 2026-02-24
Released notes:

- Add Breeze theme compatibility for JS modules (cart-tracking.js and sfgetid.js).

#### Salesfire v1.5.16
Released on 2026-02-24
Released notes:

- Update cart tracking to use the original image instead of the thumbnail.

#### Salesfire v1.5.15
Released on 2026-02-24
Released notes:

- Fix Logger to log to the correct file.

#### Salesfire v1.5.14
Released on 2026-02-18
Released notes:

- Fix PHP compatibility issues.

#### Salesfire v1.5.13
Released on 2026-02-17
Released notes:

- Fix PHP 8.2 compatibility issues.

#### Salesfire v1.5.12
Released on 2025-12-02
Released notes:

- Fix feed generator not including categories in single store mode

#### Salesfire v1.5.11
Released on 2025-12-02
Released notes:

- Added basket tracking functionality

#### Salesfire v1.5.10
Released on 2025-11-18
Released notes:

- Fixed tax missing from price

#### Salesfire v1.5.9
Released on 2025-10-07
Released notes:

- Fix failed discount price tracking in order transactions fix release

#### Salesfire v1.5.8
Released on 2025-10-07
Released notes:

- Fix discount price tracking in order transactions

#### Salesfire v1.5.7
Released on 2025-03-31
Released notes:

- Add gitignore file to ignore IDE files

#### Salesfire v1.5.6
Released on 2025-03-25
Released notes:

- Fixed multi source inventory quantity

#### Salesfire v1.5.5
Released on 2025-03-11
Released notes:

- Fixed multi-site feed generation

#### Salesfire v1.5.4
Released on 2025-02-04
Released notes:

- Add deterministic tracking

#### Salesfire v1.5.3
Released on 2025-02-03
Released notes:

- Improves product description generation to cater for non UTF-8 characters

#### Salesfire v1.5.2
Released on 2025-01-06
Released notes:

- Add constructor to the Logger class to provide a default value for the name parameter and ensure proper initialisation

#### Salesfire v1.5.1
Released on 2024-12-04
Released notes:

- Improves product quantity rounding to better handle made to measure products.

#### Salesfire v1.4.17
Released on 2024-10-03
Released notes:

- Add support for Magento MSI.
- Stop disabled products from being included in feeds.

#### Salesfire v1.4.16
Released on 2024-09-12
Released notes:

- Fix configurable products stock level calculation.

#### Salesfire v1.4.15
Released on 2024-09-09
Released notes:

- Fix php 8.3 compatibility.

#### Salesfire v1.4.14
Released on 2024-08-15
Released notes:

- No changes from v1.4.13.

#### Salesfire v1.4.13
Released on 2024-08-14
Released notes:

- Added ability to strip invalid UTF-8 characters.

#### Salesfire v1.4.12
Released on 2024-06-11
Released notes:

- Added additional logging to improve debugging.

#### Salesfire v1.4.11
Released on 2024-05-20
Released notes:

- Inline script CSP support.

#### Salesfire v1.4.10
Released on 2024-04-24
Released notes:

- Fix issue where the generated feed file was being overwritten.

#### Salesfire v1.4.9
Released on 2024-04-02
Released notes:

- Add CSP whitelist.

#### Salesfire v1.4.8
Released on 2024-04-02
Released notes:

- Fix feed generator stock level calculation.

#### Salesfire v1.4.7
Released on 2024-01-31
Released notes:

- Fix bug where configurable product prices don't include tax.

#### Salesfire v1.4.6
Released on 2024-01-18
Released notes:

- Fix bug where sale price isn't always included in feed.

#### Salesfire v1.4.5
Released on 2023-12-14
Released notes:

- Fix bug where colour isn't always included in feed.

#### Salesfire v1.4.4
Released on 2023-12-13
Released notes:

_(Changelog truncated for .md surface. Full history on https://packagento.com/salesfire/magento2.)_

## Recent Versions

| Version | Released |
|---|---|
| 1.5.19 | 2026-04-29 |
| 1.5.17 | 2026-02-25 |
| 1.5.16 | 2026-02-24 |
| 1.5.15 | 2026-02-24 |
| 1.5.14 | 2026-02-18 |
| 1.5.13 | 2026-02-17 |
| 1.5.12 | 2026-02-02 |
| 1.5.11 | 2025-12-02 |
| 1.5.9 | 2025-10-07 |
| 1.5.5 | 2025-03-11 |

Showing 10 of 62 versions. Full release history on https://packagento.com/salesfire/magento2.

## Dependencies

### Require

| Package | Constraint |
|---|---|
| salesfire/salesfire | ^1.1.0 |

## Quality

Latest release (1.5.19) fails the Packagento QA pipeline. Verdicts below are per-cell (Magento line × PHP version) for the matrixed tools, and run-once for the static / security tiers.


### Compatibility

Each Magento line is installed on its supported PHP versions, then the module is built (DI compile + static-content deploy). Cells show passed / failed / untested; staircase gaps render as `–`.

| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | Pass | Pass | – | – |
| 2.4.8 | – | Pass | Pass | – |
| 2.4.9 | – | – | Pass | Pass |


### Code Quality

Advisory checks against the module's source. Never affect the Compatibility verdict — a phpcs finding can't make a module incompatible.

#### Static Analysis

Coding standards (phpcs), mess detection (phpmd), copy-pasted code (cpd), PHP cross-version compatibility, composer.json validity. Each runs once for the whole module.

| Tool | Status | Findings | Summary |
|---|---|---|---|
| PHPCS | Warning | 127 | 127 warnings (ruleset: Magento2) — 27 auto-fixable with phpcbf |
| PHPMD | Warning | 21 | 21 rule violations (MissingImport:7, IfStatementAssignment:3, UnusedFormalParameter:2, UndefinedVariable:2, CyclomaticComplexity:2) |
| Cpd | Pass | 0 |  |
| Composer validate | Info | 1 | valid; 1 advisory note (composer validate --strict) |

#### PHPStan

Type-checks the module against a real Magento install. Re-runs per Magento + PHP version because resolvable symbols differ between releases.

| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | 19 | 19 | – | – |
| 2.4.8 | – | 19 | 19 | – |
| 2.4.9 | – | – | 18 | 18 |


### Tests

Unit and integration suites run per Magento + PHP cell. Test failures speak to the module's behaviour, not its compatibility with a line, so they're reported here separately.

#### Unit Tests

| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | N/A | N/A | – | – |
| 2.4.8 | – | N/A | N/A | – |
| 2.4.9 | – | – | N/A | N/A |

#### Integration Tests

| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | N/A | N/A | – | – |
| 2.4.8 | – | N/A | N/A | – |
| 2.4.9 | – | – | N/A | N/A |


### Security

Dependency-advisory audit (composer audit) plus a source malware scan. A malware detection fails the version outright.

| Tool | Status | Findings | Summary |
|---|---|---|---|
| Composer audit | Pass | 0 |  |
| Malware scan | Pass | 0 |  |

## Licence and pricing

Free. A licence is still minted on checkout and bound to your project for Composer access — no payment step.

Refundable within 14 days of first purchase via https://packagento.com/account/refunds/.

## Install via Claude Code or any MCP client

The Packagento MCP server can run the licence + project + Composer steps above in one tool call:

```
purchase_and_install_packages(
  composer_names=["salesfire/magento2"],
  project_id="proj_xxx"
)
```

This handles cart, checkout, licence minting, project activation, and writes auth.json credentials. Connect a client with `claude mcp add packagento https://mcp.packagento.com`. Full setup at https://packagento.com/docs/mcp-setup.

## Vendor

salesfire is a Magento 2 vendor on Packagento. See https://packagento.com/salesfire.md for their full catalogue.

