Download the PHP package sumedia-wordpress/amapn without Composer

On this page you can find all versions of the php package sumedia-wordpress/amapn. 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 amapn

Amazon Partnertnet

Amazon Partnernet supports diffrent ways to get payed for advertisments on your site.

One of this methods is a specific Productlink. I decided to use this kind of advertisment so i can control which content to which page belongs.

There are two types of Productlinks. The Link iteself and a includable iframe wich present the products image, title and price.

The second option has a issue with data privacy. Not only loading content from a foreign site, Amazon is tracking your visitors massivly.

For this reason you need a explicitly grant of the visitor to load this content - for other words, your visitor have to click or select what he we will allow according to your data privacy rules.

This would be no Problem if you don't load third party content which you're not in charge of. So here is a solution for this part of Amazon Partnernet.

Link to the Amazon Partnernet: https://partnernet.amazon.de

Sumedia Amazon Partnernet

Installation

Currently i'm not registered with wordpress. But if you interested you could have a look on the github repository.

composer require sumedia-wordpress/amapn

It has to be installed as a plugin under /wp-content/plugins/sumedia-amapn

Usage

After the activation of the plugin there will appear a pluginpage under:

Plugins > Sumedia Plugins

Search the Amazon Partnernet Plugin and click on configuration. You will see there the table with already upsetted Ads or cou can add a link in the "Add Link" tab.

All you have to do is copy the URL from Amazong Partnernet Link into the URL field and set a frequency in which the data will be updated.

A cronjob configuration will follow - it's not a good practice to load on page request.

After you have submitted the URL the data will be parsed and stored. Now you can fetch the WordPress Shortcode from the list.

You can add the Shortcode anywhere in your content, and the Amazon Ad will appear.

An implementation for theming the ad will follow - currently it suits to Amazon


All versions of amapn with dependencies

PHP Build Version
Package Version
Requires sumedia-wordpress/base Version master
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 sumedia-wordpress/amapn contains the following files

Loading the files please wait ....