# swissup/module-marketplace

> One-Click modules and themes downloader/installer

`composer require swissup/module-marketplace`

Canonical URL: https://packagento.com/swissup/module-marketplace

## At a glance

- **Vendor**: swissup (https://packagento.com/swissup.md)
- **Latest version**: 1.10.7 — released 2025-04-09
- **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/swissup/module-marketplace 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 swissup/module-marketplace:*
   bin/magento setup:upgrade
   bin/magento setup:di:compile
   bin/magento cache:flush
   ```

## What it does

One-Click modules and themes downloader/installer

## README

Marketplace — is an extensible one-click modules and themes installer with command
line and Magento backend interfaces.
It allows to add unlimited number of custom software update channels and install
modules and themes from any third-party vendor including official Magento
Marketplace.

<p>
    <img alt="CLI Screenshot"
        width="310px"
        height="237px"
        src="https://docs.swissuplabs.com/images/m2/marketplace/cli.png?v=2"
    />
    <img alt="GUI Screenshot"
        width="310px"
        height="237px"
        src="https://docs.swissuplabs.com/images/m2/marketplace/gui.png?v=2"
    />
</p>

### Contents

<!-- MarkdownTOC autolink="true" -->

- [Installation](#installation)
- [Usage](#usage)
    - [Command line interface](#command-line-interface)
    - [Magento backend interface](#magento-backend-interface)
- [Extending Marketplace](#extending-marketplace)
    - [Register your update channel](#register-your-update-channel)
    - [Create one-click installer](#create-one-click-installer)
- [FAQ](#faq)
    - [Can I install modules from the packagist?](#can-i-install-modules-from-the-packagist)
    - [Can I install modules from private repository?](#can-i-install-modules-from-private-repository)

<!-- /MarkdownTOC -->

### Installation

```bash
composer require swissup/module-marketplace
bin/magento setup:upgrade
```

### Usage

#### Command line interface

 1. Activate update channel and enter access keys:

    ```bash
    bin/magento marketplace:channel:enable
    ```

 2. Install the package(s) you need:

    ```bash
    # Download and enable module:
    bin/magento marketplace:package:require <package/name>
    # Run one-click installer (if module provides it):
    bin/magento marketplace:package:install <package/name>
    ```

 3. That's all. Check your store frontend now!

    > Some modules requires additional configuration after installation.
    > Please refer to the module documentation.

#### Magento backend interface

 1. Navigate to _System > Tools > Marketplace_ page.
 2. Open **Configuration** panel, activate and add access keys to the
    channel you'd like to use.
 2. Search for the module you'd like to install, and press **Install** button.
 3. That's all. Check your store frontend now!

    > Some modules requires additional configuration after installation.
    > Please refer to the module documentation.

### Extending Marketplace

#### Register your update channel

Custom update channels are registered via separate module with `di.xml` file
instructions. See following examples:

 - [Magento Marketplace](https://github.com/swissup/module-marketplace/blob/master/etc/di.xml#L73-L109)
 - [Swissup, Firecheckout, Argento](https://github.com/swissup/module-marketplace/blob/master/etc/di.xml#L111-L151)
 - [Private channel as separate module](https://github.com/swissup/module-marketplace-channel-github)

#### Create one-click installer

One-click installer is registered with `etc/marketplace/installer.xml` file.
See following examples:

 - [Absolute Theme](https://github.com/swissup/theme-frontend-absolute/blob/master/etc/marketplace/installer.xml)

### FAQ

#### Can I install modules from the packagist?

Yes. But via CLI only.

#### Can I install modules from private repository?

Yes. But via CLI only. Here is an example:

```bash
## 1. Add your private repository to the composer.json
composer config repositories.<id> vcs https://github.com/repo/url.git

## 2. Setup auth data. Get token at https://github.com/settings/tokens/new?scopes=repo
bin/magento marketplace:auth github-oauth.github.com <token>

## 3. Use marketplace to download the module and run installer (if any)
bin/magento marketplace:package:require <package/name>
bin/magento marketplace:package:install <package/name>
```

## Recent Versions

| Version | Released |
|---|---|
| 1.10.7 | 2025-04-09 |
| 1.10.6 | 2025-02-17 |
| 1.10.5 | 2025-02-05 |
| 1.10.4 | 2024-10-18 |
| 1.10.3 | 2024-03-28 |
| 1.10.2 | 2023-05-26 |
| 1.10.1 | 2023-05-02 |
| 1.10.0 | 2023-03-06 |
| 1.9.9 | 2022-11-11 |
| 1.9.8 | 2022-07-12 |

Showing 10 of 45 versions. Full release history on https://packagento.com/swissup/module-marketplace.

## Dependencies

### Require

| Package | Constraint |
|---|---|
| composer/composer | * |
| magento/framework | >=101.0 |
| magento/module-backend | >=100.2 |
| magento/module-catalog | * |
| magento/module-cms | * |
| magento/module-deploy | >=100.0 |
| magento/module-theme | * |
| magento/module-ui | >=101.0 |
| monolog/monolog | * |
| psr/log | * |
| symfony/console | * |

## Quality

Latest release (1.10.7) 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 | 97 | 97 warnings (ruleset: Magento2) — 4 auto-fixable with phpcbf |
| PHPMD | Warning | 84 | 84 rule violations (MissingImport:39, UnusedFormalParameter:12, NPathComplexity:7, IfStatementAssignment:5, CyclomaticComplexity:5) |
| Cpd | Pass | 0 |  |
| Composer validate | Info | 12 | valid; 12 advisory notes (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 | 121 | 121 | – | – |
| 2.4.8 | – | 120 | 120 | – |
| 2.4.9 | – | – | 120 | 120 |


### 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=["swissup/module-marketplace"],
  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

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

