Download the PHP package openx/ox3-php-api-client without Composer

On this page you can find all versions of the php package openx/ox3-php-api-client. 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 ox3-php-api-client

ox3-php-api-client

This library provides a client class with examples to facilitate access to the OpenX API. It handles, most of all, the OAuth1 login process used by OpenX API, and some basic path operations.

In src\OpenX\PlatformAPI directory,

and if you need an older approach and want to use/copy just the file...

Help appreciated

As we do not actively maintain PHP projects, any help in straightening up the package and readme will be appreciated.

What might need a review:

We'd like to thank:

Installation

(recommended) if working with Composer and Zend2

Try it out in the docker image

Older install instructions, to be reviewed:

If Working with Zend Framework 1:
1) Install Zend Framework 1.12.13 (link: http://framework.zend.com/downloads/latest#ZF2).
2) Set include_path:

If Working with Zend Framework 2:
1) Install Zend Framework 2 (link: http://framework.zend.com/downloads/latest#ZF2).
2) Install Composer in your working directory (link: https://getcomposer.org/doc/00-intro.md).
3) Run the command "php composer.phar init". After doing this. composer will guide you through the process of configuring a composer.json file. To allow the default configuration, press enter or "yes" when prompted.
4) Install the required Zend packages, ZendOAuth and ZendRest:
To do so, add the "repositories" and "require" sections in the composer.json file so the file looks
as follows:

5) Run the command "php composer.phar install" to install the packages and their dependencies.
6) Set include_path:

** If you use this option make sure to create the file in the same folder as the folder which contains the OX3_API_Client2.php file. Also make sure to require the file by adding the line "require_once 'set_path.php'; " to the top of the OX3_Api_Client2.php file.

Authentication/Example Scripts

Add this to your code to authenticate with Oauth:
` ** Note that when running the example scripts, OX3_Api_Client.php/OX3_Api_Client2.php must be in the same folder as the script. Also note that the example scripts contain some user configurable variables (besides the authentication section), which are described at the top of the scripts.

Usage

GET REQUESTS:

POST REQUESTS:

PUT REQUESTS:

DELETE REQUESTS:


All versions of ox3-php-api-client with dependencies

PHP Build Version
Package Version
Requires zendframework/zend-http Version ^2.6
zendframework/zendoauth Version ^2.0
zendframework/zendrest Version ^2.0
ext-json Version *
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 openx/ox3-php-api-client contains the following files

Loading the files please wait ....