PHPackages                             fortis-apimatic/fortis-apimatic-sdk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. fortis-apimatic/fortis-apimatic-sdk

ActiveLibrary[API Development](/categories/api)

fortis-apimatic/fortis-apimatic-sdk
===================================

SDKs for fortis by APIMatic

1.0.5(3mo ago)01MITPHPPHP ^7.2 || ^8.0

Since Apr 9Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/sdks-io/fortis-apimatic-php-sdk)[ Packagist](https://packagist.org/packages/fortis-apimatic/fortis-apimatic-sdk)[ Docs](https://fortispay.com/developers/)[ RSS](/packages/fortis-apimatic-fortis-apimatic-sdk/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (5)Versions (5)Used By (0)

Getting Started with Fortis API
===============================

[](#getting-started-with-fortis-api)

Install the Package
-------------------

[](#install-the-package)

Run the following command to install the package and automatically add the dependency to your composer.json file:

```
composer require "fortis-apimatic/fortis-apimatic-sdk:1.0.5"
```

Or add it to the composer.json file manually as given below:

```
"require": {
    "fortis-apimatic/fortis-apimatic-sdk": "1.0.5"
}
```

You can also view the package at:

Initialize the API Client
-------------------------

[](#initialize-the-api-client)

***Note:*** Documentation for the client can be found [here.](https://www.github.com/sdks-io/fortis-apimatic-php-sdk/tree/1.0.5/doc/client.md)

The following parameters are configurable for the API Client:

ParameterTypeDescriptionenvironment[`Environment`](https://www.github.com/sdks-io/fortis-apimatic-php-sdk/tree/1.0.5/README.md#environments)The API environment.
 **Default: `Environment.PRODUCTION`**timeout`int`Timeout for API calls in seconds.
*Default*: `0`enableRetries`bool`Whether to enable retries and backoff feature.
*Default*: `false`numberOfRetries`int`The number of retries to make.
*Default*: `0`retryInterval`float`The retry time interval between the endpoint calls.
*Default*: `1`backOffFactor`float`Exponential backoff factor to increase interval between retries.
*Default*: `2`maximumRetryWaitTime`int`The maximum wait time in seconds for overall retrying requests.
*Default*: `0`retryOnTimeout`bool`Whether to retry on request timeout.
*Default*: `true`httpStatusCodesToRetry`array`Http status codes to retry against.
*Default*: `408, 413, 429, 500, 502, 503, 504, 521, 522, 524`httpMethodsToRetry`array`Http methods to retry against.
*Default*: `'GET', 'PUT'`loggingConfiguration[`LoggingConfigurationBuilder`](https://www.github.com/sdks-io/fortis-apimatic-php-sdk/tree/1.0.5/doc/logging-configuration-builder.md)Represents the logging configurations for API callsproxyConfiguration[`ProxyConfigurationBuilder`](https://www.github.com/sdks-io/fortis-apimatic-php-sdk/tree/1.0.5/doc/proxy-configuration-builder.md)Represents the proxy configurations for API callsuserIdCredentials[`UserIdCredentials`](https://www.github.com/sdks-io/fortis-apimatic-php-sdk/tree/1.0.5/doc/auth/custom-header-signature.md)The Credentials Setter for Custom Header SignatureuserApiKeyCredentials[`UserApiKeyCredentials`](https://www.github.com/sdks-io/fortis-apimatic-php-sdk/tree/1.0.5/doc/auth/custom-header-signature-1.md)The Credentials Setter for Custom Header SignaturedeveloperIdCredentials[`DeveloperIdCredentials`](https://www.github.com/sdks-io/fortis-apimatic-php-sdk/tree/1.0.5/doc/auth/custom-header-signature-2.md)The Credentials Setter for Custom Header SignatureaccessTokenCredentials[`AccessTokenCredentials`](https://www.github.com/sdks-io/fortis-apimatic-php-sdk/tree/1.0.5/doc/auth/custom-header-signature-3.md)The Credentials Setter for Custom Header SignatureThe API client can be initialized as follows:

```
use FortisApiLib\Logging\LoggingConfigurationBuilder;
use FortisApiLib\Logging\RequestLoggingConfigurationBuilder;
use FortisApiLib\Logging\ResponseLoggingConfigurationBuilder;
use Psr\Log\LogLevel;
use FortisApiLib\Environment;
use FortisApiLib\Authentication\UserIdCredentialsBuilder;
use FortisApiLib\Authentication\UserApiKeyCredentialsBuilder;
use FortisApiLib\Authentication\DeveloperIdCredentialsBuilder;
use FortisApiLib\Authentication\AccessTokenCredentialsBuilder;
use FortisApiLib\FortisApiClientBuilder;

$client = FortisApiClientBuilder::init()
    ->userIdCredentials(
        UserIdCredentialsBuilder::init(
            'user-id'
        )
    )
    ->userApiKeyCredentials(
        UserApiKeyCredentialsBuilder::init(
            'user-api-key'
        )
    )
    ->developerIdCredentials(
        DeveloperIdCredentialsBuilder::init(
            'developer-id'
        )
    )
    ->accessTokenCredentials(
        AccessTokenCredentialsBuilder::init(
            'access-token'
        )
    )
    ->environment(Environment::PRODUCTION)
    ->loggingConfiguration(
        LoggingConfigurationBuilder::init()
            ->level(LogLevel::INFO)
            ->requestConfiguration(RequestLoggingConfigurationBuilder::init()->body(true))
            ->responseConfiguration(ResponseLoggingConfigurationBuilder::init()->headers(true))
    )
    ->build();
```

Environments
------------

[](#environments)

The SDK can be configured to use a different environment for making API calls. Available environments are:

### Fields

[](#fields)

NameDescriptionPRODUCTION**Default**ENVIRONMENT2-Authorization
-------------

[](#authorization)

This API uses the following authentication schemes.

- [`user-id (Custom Header Signature)`](https://www.github.com/sdks-io/fortis-apimatic-php-sdk/tree/1.0.5/doc/auth/custom-header-signature.md)
- [`user-api-key (Custom Header Signature)`](https://www.github.com/sdks-io/fortis-apimatic-php-sdk/tree/1.0.5/doc/auth/custom-header-signature-1.md)
- [`developer-id (Custom Header Signature)`](https://www.github.com/sdks-io/fortis-apimatic-php-sdk/tree/1.0.5/doc/auth/custom-header-signature-2.md)
- [`access-token (Custom Header Signature)`](https://www.github.com/sdks-io/fortis-apimatic-php-sdk/tree/1.0.5/doc/auth/custom-header-signature-3.md)

List of APIs
------------

[](#list-of-apis)

- [Async Processing](https://www.github.com/sdks-io/fortis-apimatic-php-sdk/tree/1.0.5/doc/controllers/async-processing.md)
- [Declined Recurring Transactions](https://www.github.com/sdks-io/fortis-apimatic-php-sdk/tree/1.0.5/doc/controllers/declined-recurring-transactions.md)
- [Device Terms](https://www.github.com/sdks-io/fortis-apimatic-php-sdk/tree/1.0.5/doc/controllers/device-terms.md)
- [Full Boarding](https://www.github.com/sdks-io/fortis-apimatic-php-sdk/tree/1.0.5/doc/controllers/full-boarding.md)
- [3 DS Authentication](https://www.github.com/sdks-io/fortis-apimatic-php-sdk/tree/1.0.5/doc/controllers/3-ds-authentication.md)
- [3 DS Transactions](https://www.github.com/sdks-io/fortis-apimatic-php-sdk/tree/1.0.5/doc/controllers/3-ds-transactions.md)
- [Merchant Deposits](https://www.github.com/sdks-io/fortis-apimatic-php-sdk/tree/1.0.5/doc/controllers/merchant-deposits.md)
- [On Boarding](https://www.github.com/sdks-io/fortis-apimatic-php-sdk/tree/1.0.5/doc/controllers/on-boarding.md)
- [Payment Card Reader Token](https://www.github.com/sdks-io/fortis-apimatic-php-sdk/tree/1.0.5/doc/controllers/payment-card-reader-token.md)
- [Quick Invoices](https://www.github.com/sdks-io/fortis-apimatic-php-sdk/tree/1.0.5/doc/controllers/quick-invoices.md)
- [Transaction ACH Retries](https://www.github.com/sdks-io/fortis-apimatic-php-sdk/tree/1.0.5/doc/controllers/transaction-ach-retries.md)
- [Transactions-ACH](https://www.github.com/sdks-io/fortis-apimatic-php-sdk/tree/1.0.5/doc/controllers/transactions-ach.md)
- [Transactions-Cash](https://www.github.com/sdks-io/fortis-apimatic-php-sdk/tree/1.0.5/doc/controllers/transactions-cash.md)
- [Transactions-Credit Card](https://www.github.com/sdks-io/fortis-apimatic-php-sdk/tree/1.0.5/doc/controllers/transactions-credit-card.md)
- [Transactions-EBT Card](https://www.github.com/sdks-io/fortis-apimatic-php-sdk/tree/1.0.5/doc/controllers/transactions-ebt-card.md)
- [Transactions-Read](https://www.github.com/sdks-io/fortis-apimatic-php-sdk/tree/1.0.5/doc/controllers/transactions-read.md)
- [Level 3 Data](https://www.github.com/sdks-io/fortis-apimatic-php-sdk/tree/1.0.5/doc/controllers/level-3-data.md)
- [Transactions-Updates](https://www.github.com/sdks-io/fortis-apimatic-php-sdk/tree/1.0.5/doc/controllers/transactions-updates.md)
- [User Verifications](https://www.github.com/sdks-io/fortis-apimatic-php-sdk/tree/1.0.5/doc/controllers/user-verifications.md)
- [Apple Pay Validate Merchant](https://www.github.com/sdks-io/fortis-apimatic-php-sdk/tree/1.0.5/doc/controllers/apple-pay-validate-merchant.md)
- [Merchant Details](https://www.github.com/sdks-io/fortis-apimatic-php-sdk/tree/1.0.5/doc/controllers/merchant-details.md)
- [Batches](https://www.github.com/sdks-io/fortis-apimatic-php-sdk/tree/1.0.5/doc/controllers/batches.md)
- [Contacts](https://www.github.com/sdks-io/fortis-apimatic-php-sdk/tree/1.0.5/doc/controllers/contacts.md)
- [Elements](https://www.github.com/sdks-io/fortis-apimatic-php-sdk/tree/1.0.5/doc/controllers/elements.md)
- [Locations](https://www.github.com/sdks-io/fortis-apimatic-php-sdk/tree/1.0.5/doc/controllers/locations.md)
- [Paylinks](https://www.github.com/sdks-io/fortis-apimatic-php-sdk/tree/1.0.5/doc/controllers/paylinks.md)
- [Recurring](https://www.github.com/sdks-io/fortis-apimatic-php-sdk/tree/1.0.5/doc/controllers/recurring.md)
- [Signatures](https://www.github.com/sdks-io/fortis-apimatic-php-sdk/tree/1.0.5/doc/controllers/signatures.md)
- [Tags](https://www.github.com/sdks-io/fortis-apimatic-php-sdk/tree/1.0.5/doc/controllers/tags.md)
- [Terminals](https://www.github.com/sdks-io/fortis-apimatic-php-sdk/tree/1.0.5/doc/controllers/terminals.md)
- [Tickets](https://www.github.com/sdks-io/fortis-apimatic-php-sdk/tree/1.0.5/doc/controllers/tickets.md)
- [Tokens](https://www.github.com/sdks-io/fortis-apimatic-php-sdk/tree/1.0.5/doc/controllers/tokens.md)
- [Users](https://www.github.com/sdks-io/fortis-apimatic-php-sdk/tree/1.0.5/doc/controllers/users.md)
- [Webhooks](https://www.github.com/sdks-io/fortis-apimatic-php-sdk/tree/1.0.5/doc/controllers/webhooks.md)

SDK Infrastructure
------------------

[](#sdk-infrastructure)

### Configuration

[](#configuration)

- [ProxyConfigurationBuilder](https://www.github.com/sdks-io/fortis-apimatic-php-sdk/tree/1.0.5/doc/proxy-configuration-builder.md)
- [LoggingConfigurationBuilder](https://www.github.com/sdks-io/fortis-apimatic-php-sdk/tree/1.0.5/doc/logging-configuration-builder.md)
- [RequestLoggingConfigurationBuilder](https://www.github.com/sdks-io/fortis-apimatic-php-sdk/tree/1.0.5/doc/request-logging-configuration-builder.md)
- [ResponseLoggingConfigurationBuilder](https://www.github.com/sdks-io/fortis-apimatic-php-sdk/tree/1.0.5/doc/response-logging-configuration-builder.md)

### HTTP

[](#http)

- [HttpRequest](https://www.github.com/sdks-io/fortis-apimatic-php-sdk/tree/1.0.5/doc/http-request.md)

### Utilities

[](#utilities)

- [ApiResponse](https://www.github.com/sdks-io/fortis-apimatic-php-sdk/tree/1.0.5/doc/api-response.md)

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance81

Actively maintained with recent releases

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

4

Last Release

102d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ef06f97b4ff5db714f2a124525216538f97338487cd4e2bca22baa32c0bf90cd?d=identicon)[developer-sdksio](/maintainers/developer-sdksio)

---

Top Contributors

[![developer-sdksio](https://avatars.githubusercontent.com/u/135820708?v=4)](https://github.com/developer-sdksio "developer-sdksio (4 commits)")

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/fortis-apimatic-fortis-apimatic-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/fortis-apimatic-fortis-apimatic-sdk/health.svg)](https://phpackages.com/packages/fortis-apimatic-fortis-apimatic-sdk)
```

###  Alternatives

[square/square

Use Square APIs to manage and run business including payment, customer, product, inventory, and employee management.

773.9M29](/packages/square-square)[paypal/paypal-server-sdk

PayPal's SDK for interacting with the REST APIs

62833.4k16](/packages/paypal-paypal-server-sdk)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
