Download the PHP package jeffrey-kroonen/bol-retailer-api-php without Composer

On this page you can find all versions of the php package jeffrey-kroonen/bol-retailer-api-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 bol-retailer-api-php

PHPUnit GitHub issues GitHub forks GitHub stars GitHub

Bol.com Retailer API PHP

A PHP Client to interact with the Bol.com Retailer API v8

About the project

The project is built with php v8.1.4 and is not complete. Only the endpoints I needed for my project are included in this project. Their will be no future releases coming from my side, besides when the Bol.com Retailer API releases a new version or if I have to make use of more endpoints.

Feel free to fork this project and contribute your work to improve the project.

Supported endpoints

Getting Started

Installation

The project can be easily be installed through Composer

Usage

Create a new instance of the Client

Authenticate at the Bol.com Retailer API

After you have been authenticated at the Bol.com Retailer API, you can get the auth data, such as client id, client secret and access token. These data can be used in future requests. It's good practice to save the access token in your local database to reuse the next time

Set The access token when instantiating Client

Next you can call the endpoint you want to use

Then you can call the methods available for that endpoint

To get the data from the currently authenticated application, you can use the accessor on the Client

You can get as example the Unix timestamp when the authentication will expire

You will receive the exception UnauthorizedException when the request is no longer authorized. You can check manually when the authentication will expire

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

All versions of bol-retailer-api-php with dependencies

PHP Build Version
Package Version
Requires guzzlehttp/guzzle Version ^7.4
jane-php/json-schema-runtime Version ^7.4
symfony/http-foundation Version ^6.1
phpseclib/phpseclib Version ^3.0
nesbot/carbon Version ^2.67
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 jeffrey-kroonen/bol-retailer-api-php contains the following files

Loading the files please wait ....