PHPackages                             multidimensional/amazon-widget - 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. [Image &amp; Media](/categories/media)
4. /
5. multidimensional/amazon-widget

ActiveMediawiki-extension[Image &amp; Media](/categories/media)

multidimensional/amazon-widget
==============================

A MediaWiki Extension for adding Amazon Associate Widgets to your Wiki.

0.0.3(7y ago)022MITPHPPHP &gt;=5.4.0

Since Feb 12Pushed 7y ago1 watchersCompare

[ Source](https://github.com/multidimension-al/amazon-widget)[ Packagist](https://packagist.org/packages/multidimensional/amazon-widget)[ Docs](https://github.com/multidimension-al/amazon-widget)[ RSS](/packages/multidimensional-amazon-widget/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (3)Dependencies (2)Versions (4)Used By (0)

Amazon Associates Widget Mediawiki Extension
============================================

[](#amazon-associates-widget-mediawiki-extension)

[![Latest Stable Version](https://camo.githubusercontent.com/fa3faee04fbdbd1fc4c551969923fc9d13e5610fc5d9171232c2c8135e7f8d17/68747470733a2f2f706f7365722e707567782e6f72672f6d756c746964696d656e73696f6e616c2f616d617a6f6e2d7769646765742f762f737461626c652e737667)](https://packagist.org/packages/multidimensional/amazon-widget)[![Minimum PHP Version](https://camo.githubusercontent.com/b8feeff753e7c6ff51ffd26c612be3c4f292513e413cd0c8884e665ff51dd798/687474703a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230352e342d3838393242462e737667)](https://php.net/)[![License](https://camo.githubusercontent.com/185ba84f565f6d0e2fc95c68732a6189b6f6e8539d8ed66f77bb10146a903794/68747470733a2f2f706f7365722e707567782e6f72672f6d756c746964696d656e73696f6e616c2f616d617a6f6e2d7769646765742f6c6963656e73652e737667)](https://packagist.org/packages/multidimensional/amazon-widget)[![Total Downloads](https://camo.githubusercontent.com/eb4e2e25643c67740270398413c6a1c7a04a1493fb584d7cc473670232bdc2ec/68747470733a2f2f706f7365722e707567782e6f72672f6d756c746964696d656e73696f6e616c2f616d617a6f6e2d7769646765742f642f746f74616c2e737667)](https://packagist.org/packages/multidimensional/amazon-widget)

A [MediaWiki](http://www.mediawiki.org/) Extension for adding Amazon Associate Widgets to your Wiki.

Requirements
------------

[](#requirements)

- Mediawiki 1.25+

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

[](#installation)

Download the extension and add it to your extensions folder, or install it by adding it to your `composer.local.json` file:

```
{
    "require": {
        "multidimensional/amazon-widget": "*"
    }
}

```

Activate the extension in `LocalSettings.php` and set your Amazon tag.

```
wfLoadExtension( 'AmazonWidget' );
$wgAmazonWidgetTag = 'YOUR-AMAZON-TAG-HERE-20';
```

That's it!

Usage in MediaWiki
------------------

[](#usage-in-mediawiki)

To use the Amazon tag, it is very easy. There are two elements that are required:

- ASIN (product code)
- Link ID (from your Amazon Associates link)

Example:

```

```

You can also add advanced tags:

- Width (pixel count or percentage)
- Height (pixel count or percentage)
- Style (any css style information)

Example:

```

```

Additional configuration options can be hardcoded in your `LocalSettings.php` file.

### Amazon Links

[](#amazon-links)

You can also use this Extension to generate links to Amazon products by including text to include in the link by using the following style of tag:

```

    Link Text

```

Note that advanced settings cannot be used with these tags.

Advanced Configuration
----------------------

[](#advanced-configuration)

Hard coded settings can also be added in your `LocalSettings.php` file. These will affect appearances across all Widgets, but note that your cache will need to be cleared for all changes to take effect.

Here are the default values:

```
$wgAmazonWidgetRegion = 'US';
$wgAmazonWidgetWidth = 120;
$wgAmazonWidgetHeight = 240;
$wgAmazonWidgetNewWindow = false;
$wgAmazonWidgetBorder = true;
$wgAmazonWidgetBackground = 'ffffff';
$wgAmazonWidgetTitleColor = '0066c0';
$wgAmazonWidgetPriceColor = '333333';
$wgAmazonWidgetMarketplace = 'amazon';
```

License
-------

[](#license)

```
The MIT License (MIT)

Copyright (c) 2019 multidimension.al

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~1 days

Total

3

Last Release

2646d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6588235?v=4)[AJ Quick](/maintainers/ajquick)[@ajquick](https://github.com/ajquick)

---

Top Contributors

[![ajquick](https://avatars.githubusercontent.com/u/6588235?v=4)](https://github.com/ajquick "ajquick (33 commits)")

### Embed Badge

![Health badge](/badges/multidimensional-amazon-widget/health.svg)

```
[![Health](https://phpackages.com/badges/multidimensional-amazon-widget/health.svg)](https://phpackages.com/packages/multidimensional-amazon-widget)
```

###  Alternatives

[mindkomm/timmy

Advanced image manipulation for Timber.

17735.6k](/packages/mindkomm-timmy)[toinekamps/responsive-pics

Responsive Pics is a Wordpress tool for resizing images on the fly.

831.2k](/packages/toinekamps-responsive-pics)[asgardcms/media-module

Media module for AsgardCMS. Handles the media library.

1130.6k2](/packages/asgardcms-media-module)[globalis/wp-cubi-imagemin

Standalone image minification WordPress plugin

1317.7k2](/packages/globalis-wp-cubi-imagemin)[samwilson/diagrams

MediaWiki extension to display various types of diagrams rendered from text within wiki pages.

122.3k](/packages/samwilson-diagrams)[chkilel/icones-plugin

Access thousands of icons including popular icon sets, icon fonts and several Emoji sets from a backed Form Widget

181.6k](/packages/chkilel-icones-plugin)

PHPackages © 2026

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