# outeredge/magento-base-module

> Magento 2 Base Module by outer/edge

`composer require outeredge/magento-base-module`

Canonical URL: https://packagento.com/outeredge/magento-base-module

## At a glance

- **Vendor**: outeredge (https://packagento.com/outeredge.md)
- **Latest version**: 5.5.1 — released 2026-06-01
- **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/outeredge/magento-base-module 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 outeredge/magento-base-module:*
   bin/magento setup:upgrade
   bin/magento setup:di:compile
   bin/magento cache:flush
   ```

## What it does

Magento 2 Base Module by outer/edge

## README

This module provides the following useful features for Magento 2:

### Admin

* Additional widget types
  - Image picker
  - Text field
* Enabled `anchor` button in WYSIWYG
* Banner images for CMS pages - adds an option to upload a banner image to all page in `Content > Pages` which can be pulled through to the frontend.
* `Create` section in admin menu for quick actions:
  - Create new order
  - Create product
* Enforces media URL seen by the admin to be NULL always (i.e. so CDN isn't used)
* Adds bulk actions to Cart Price Rules

### SEO

* Canonical URL improvements
  - Add canonical URL for all CMS pages
  - Include pagination in category canonical URLs as per [Google Recommendation](https://developers.google.com/search/docs/specialty/ecommerce/pagination-and-incremental-page-loading#use-urls-correctly)
* Set robots meta tag to `NOINDEX/NOFOLLOW` for:
  - [Common query strings](https://github.com/outeredge/magento-base-module/blob/master/Plugin/Robots.php#L10) such as list ordering, limit, store codes etc
  - Search results
  - Product review list
* Forces a 404 HTTP response for placeholder images
* Adds preconnect headers for google.com/gstatic.com

### Cookiebot & Termly

  - Don't move cookiebot tags to footer when move JS to footer is enabled
  - Block YouTube cookies unless Cookiebot has given consent (*Enabled by default*)
  - Cookiebot declaration template for use on cookie policy CMS page
  - Import Termly generated Cookie Policy for use on cookie policy CMS page

### API

 - `/rest/V1/site_status/get` - To remotely obtain recent config changes and indexer statuses

### Developer Tools

* Helper classes:
  - Asset helper - get assets
  - Image helper - get media images and resize, crop etc.
  - Config helper - get values from Magento config
* Console commands
  - `outeredge:nuke` for removing all cache and static files
  - `outeredge:config` lists all recent config changes
* Adds support for newer version of MariaDB
* Disables jQuery mutate console messages
* Forces the first encryption key to always be used for media assets

#### Console Commands

| Command | Description |
|---|---|
| `$ bin/magento outeredge:config` | Show recent `core_config_data` changes (use `--save` to save differences shown to config.php and `--force` to overwrite any existing config) |
| `$ bin/magento outeredge:nuke`   | Remove generated + static files and flushes cache) |
| `$ bin/magento outeredge:eav-clean` | Removes non-existent types from EAV attributes |
| `$ bin/magento outeredge:convert-quote` | Converts a quote into an order |

#### Cookiebot Declaration

To add the Cookiebot cookie declaration form into your cookie policy CMS page, add the following snippet into the CMS page in the Magento admin:

```
{{block class="Magento\Framework\View\Element\Template" template="OuterEdge_Base::cookiebot/declaration.phtml"}}
```

#### Termly Cookie Policy

To add the Termly cookie policy into your cookie policy CMS page, add the following snippet into the CMS page in the Magento admin:

```
{{block class="Magento\Framework\View\Element\Template" template="OuterEdge_Base::termly/cookie-policy.phtml"}}
```

#### Multistore projects

Add `multistore.php` to the top of the `composer.json` autoload/files section to allow separate config files (and thus databases) _per store_ on the same instance/repository:

* Add to `composer.json` :
```
    "autoload": {
        "files": [
            "vendor/outeredge/magento-base-module/multistore.php",
            ...
```

* Then create individual env.php files for each, naming them `env.php.STORE_CODE` replacing `STORE_CODE` as applicable.

## Recent Versions

| Version | Released |
|---|---|
| 5.5.1 | 2026-06-01 |
| 5.5.0 | 2026-05-19 |
| 5.4.3 | 2026-05-07 |
| 5.4.2 | 2026-04-29 |
| 5.4.1 | 2026-01-14 |
| 5.4.0 | 2025-11-14 |
| 5.3.1 | 2025-11-04 |
| 5.3.0 | 2025-09-23 |
| 5.2.5 | 2025-09-18 |
| 5.2.4 | 2025-09-17 |

Showing 10 of 199 versions. Full release history on https://packagento.com/outeredge/magento-base-module.

## Dependencies

### Require

| Package | Constraint |
|---|---|
| cweagans/composer-patches | ^2 |
| eliashaeussler/cache-warmup | * |
| magento/product-community-edition | >=2.4.4 |
| markshust/magento2-module-disabletwofactorauth | ^2 |
| outeredge/googlecloudstorage | ^2 |
| outeredge/magento-bulk-actions | ^1 |
| outeredge/magento-language-en_gb-module | ^1 |
| outeredge/magento-layout-module | ^3 |
| outeredge/magento-limitrole-module | ^1 |
| outeredge/magento-newsletter-disable-email | ^1 |
| outeredge/magento-opentelemetry-module | ^1\|^2 |
| php | ^8.1 |

### Suggest

| Package | Constraint |
|---|---|
| outeredge/magento-disable-common | To remove commonly unused modules |
| outeredge/magento-disable-graphql | To remove GraphQL modules when not in use |

## Quality

Latest release (5.5.1) 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 | not tested | not tested | – | – |
| 2.4.8 | – | not tested | not tested | – |
| 2.4.9 | – | – | not tested | not tested |


### 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 | Fail | 160 | 8 errors, 152 warnings (ruleset: Magento2) — 58 auto-fixable with phpcbf |
| PHPMD | Warning | 30 | 30 rule violations (UnusedFormalParameter:14, UndefinedVariable:5, MissingImport:4, UnusedLocalVariable:3, CyclomaticComplexity:2) |
| Cpd | Pass | 0 |  |
| Composer validate | Info | 2 | valid; 2 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 | Error | Error | – | – |
| 2.4.8 | – | Error | Error | – |
| 2.4.9 | – | – | Error | Error |


### 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 | N/A | 0 | no resolvable dependency tree to audit — Your requirements could not be resolved to an installable set of packages. Problem 1 |
| 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=["outeredge/magento-base-module"],
  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

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

