Download the PHP
package padosoft/laravel-affiliate-network without Composer
On this page you can find all versions of the php package
padosoft/laravel-affiliate-network. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
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.
Informations about the package laravel-affiliate-network
Affiliate Networks API wrapper to provide common interface for affiliate networks publish API like Zanoz, Tradedoubler, Commission Junction etc...
The goal of this Laravel package is to wrap the Publisher Network Affiliate API like Zanox, Tradedoubler, Commission Junction etc.. and provide simple methods to get deals and sales report and return a common interface for your use.
Overview
Common methods are:
getDeals : get the network deals.
getSales : get the network sales.
getStats : get the network deals stats.
getMerchants : get the network merchants.
checkLogin : check if logged in network.
login : login in into network.
getTrackingParameter : get network tracking params.
loadAvailableNetworks : get all available network.
hasNetwork : check if network are available.
addNetwork : add a network class that implements Network interface.
Requires
php: >=7.0.0
illuminate/support
padosoft/support
Installation
You can install the package via composer:
You must install this service provider.
You don't need to register the command in app/Console/Kernel.php, because it provides by AffiliateNetworkServiceProvider register() method.
You can publish the config file of this package with this command:
The following config file will be published in config/laravel-affiliate-network.php
In your app config folder you can copy from src/config/.env.example the settings for yours .env file used in laravel-affiliate-network.php.
If you use mathiasgrimm/laravel-env-validator
in src/config folder you'll find an example for validate the env settings.
Networks Supported
CommissionJunction
Effiliation
Netaffiliation
Publicideas.com
TradeDoubler
Zanox
WebGains
Usage
Create new php file, add composer autoload and start using functions.
In Laravel:
Change log
Please see CHANGELOG for more information what has changed recently.
Testing
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email instead of using the issue tracker.
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 padosoft/laravel-affiliate-network contains the following files
Loading the files please wait ....
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.