Download the PHP package davalb/php-openbazaar-api without Composer

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

OpenBazaar Api

This library is a PHP 5.x implementation of the OpenBazaar REST API Documentation POST calls, OpenBazaar REST API Documentation GET calls The OpenBazaar API is a REST-based interface. By using this library you don't have to worry about communicating with the API: all the hard work has already be done.

This API is build upon the shoulders of a giant: Guzzle 5.0. This is an absolutely awesome library.

Installation

Start by installing composer. Next do:

$ composer require davalb/php-openbazaar-api

Requirements

PHP >=5.4.0

Usage

Creating a new instance is as simple as:

It is necessary to run the login first. After that you can run more api-calls without worrying about the authentication, since the cookie is persisted.

More info and plugins

For more information about Guzzle and its plugins checkout the docs.

Contributing

Implemented a missing call? PR's are welcome! The project follows the cakephp coding standards. Plese install and use the php code sniffer before sending a pull request

Also please provide tests for code that you write. Tests can be run like this


All versions of php-openbazaar-api with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4.0
guzzlehttp/guzzle Version ~5.0
guzzlehttp/guzzle-services Version ~0.5.0
guzzlehttp/oauth-subscriber Version ~0.2
guzzlehttp/log-subscriber Version ^1.0
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 davalb/php-openbazaar-api contains the following files

Loading the files please wait ....