Download the PHP package ominity/ominity-api-php without Composer
On this page you can find all versions of the php package ominity/ominity-api-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ominity/ominity-api-php
More information about ominity/ominity-api-php
Files in ominity/ominity-api-php
Package ominity-api-php
Short Description Ominity API library for PHP.
License BSD-2-Clause
Homepage https://www.ominity.com/
Informations about the package ominity-api-php
Ominity API client for PHP
Requirements
To use the Ominity API client, the following things are required:
- PHP >= 7.0
- Up-to-date OpenSSL (or other SSL/TLS toolkit)
Installation
Using Composer
The easiest way to install the Ominity API client is by using Composer. You can require it with the following command:
Manual Installation
If you're not familiar with using composer we've added a ZIP file to the releases containing the API client and all the packages normally installed by composer.
Download the ominity-api-php.zip
from the releases page.
Include the vendor/autoload.php
Usage
Initializing the Ominity API client, and setting your endpoint and API key.
With the OminityApiClient
you can now access any of the following endpoints by selecting them as a property of the client:
Enabling debug mode
When troubleshooting, it can be highly beneficial to have access to the submitted request within the ApiException
. To safeguard against inadvertently exposing sensitive request data in your local application logs, the debugging feature is initially turned off.
To enable debugging and inspect the request:
If you are recording instances of ApiException
, the request details will be included in the logs. It is vital to ensure that no sensitive information is retained within these logs and to perform cleanup after debugging is complete.
To disable debugging again:
License
BSD (Berkeley Software Distribution) License. Copyright (c) 2024, Ominity
All versions of ominity-api-php with dependencies
ext-curl Version *
ext-json Version *
ext-openssl Version *
composer/ca-bundle Version ^1.2