Download the PHP package sohaibilyas/sedotmp-php without Composer

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

SedoTMP PHP SDK

A simple PHP SDK for interacting with SedoTMP - Sedo Traffic Monetization Platform (sedotmp.com).

Requires PHP 8.2+

Installation

Install via Composer:

Usage

Getting Started

Authentication

Getting a New Access Token

Call getAccessToken() to fetch and cache an access token:

Using an Existing Access Token

If you already have a token (e.g., from cache or session), use setAccessToken() to avoid making an authentication request:

Complete Example with Token Caching

Content API

Get Categories

Platform API

Get Content Campaigns

Retrieve content campaigns with pagination:

Get Single Content Campaign

Retrieve a specific content campaign by ID:

Create Content Campaign

Create a new content campaign:

Get Campaign Report

Retrieve campaign report data with dimensions, filters, sorting, and pagination:

Available dimensions:

Available sort fields:

Pagination options:

Use page-based pagination:

Or use offset-based pagination:

Note: If neither startDate nor endDate is provided in the filter, they will default to yesterday's date.

Get Keyword Performance Report

Retrieve keyword performance data with dimensions, filters, sorting, and pagination:

Available dimensions:

Postback Templates

Postback templates define reusable S2S callback configurations for conversion events.

Get All Postback Templates

Get Single Postback Template

Create Postback Template

Update Postback Template

Delete Postback Template

Traffic Source Templates

Traffic source templates define reusable tracking configurations for different traffic sources.

Get All Traffic Source Templates

Get Single Traffic Source Template

Create Traffic Source Template

Update Traffic Source Template

Delete Traffic Source Template

Using Templates with Content Campaigns

You can reference templates when creating content campaigns to automatically apply pre-configured tracking settings:

You can also reference templates by name:

Custom Configuration

You can optionally provide custom API version, base URL, and auth URL:

Development

Testing

All tests use mocked HTTP clients - no real API calls are made during testing.

Run unit tests using PEST:

Run the entire test suite:

Code Quality

Keep a modern codebase with Pint:

Run refactors using Rector:

Run static analysis using PHPStan:

License

The MIT License (MIT). Please see License File for more information.


All versions of sedotmp-php with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2.0
guzzlehttp/guzzle Version ^7.10
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 sohaibilyas/sedotmp-php contains the following files

Loading the files please wait ...