PHPackages                             sdks-io/apimatic-php-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. [Testing &amp; Quality](/categories/testing)
4. /
5. sdks-io/apimatic-php-sdk

ActiveLibrary[Testing &amp; Quality](/categories/testing)

sdks-io/apimatic-php-sdk
========================

this is testing

3.3.27(1y ago)02MITPHPPHP ^7.2 || ^8.0

Since Sep 18Pushed 1y ago1 watchersCompare

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

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

Getting Started with Apimatic Calculator
========================================

[](#getting-started-with-apimatic-calculator)

Introduction
------------

[](#introduction)

Simple calculator API hosted on APIMATIC

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 "sdks-io/apimatic-php-sdk:1.2.3"
```

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

```
"require": {
    "sdks-io/apimatic-php-sdk": "1.2.3"
}
```

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/Syed-Subtain/apimatic-php-php-sdk/tree/1.2.3/doc/client.md)

The following parameters are configurable for the API Client:

ParameterTypeDescription`environment``Environment`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'`The API client can be initialized as follows:

```
$client = ApimaticCalculatorClientBuilder::init()
    ->environment(Environment::PRODUCTION)
    ->build();
```

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

[](#list-of-apis)

- [Simple Calculator](https://www.github.com/Syed-Subtain/apimatic-php-php-sdk/tree/1.2.3/doc/controllers/simple-calculator.md)

Additional Documentation
------------------------

[](#additional-documentation)

### Wrappers

[](#wrappers)

- [ApiException](https://www.github.com/Syed-Subtain/apimatic-php-php-sdk/tree/1.2.3/doc/api-exception.md)
- [HttpRequest](https://www.github.com/Syed-Subtain/apimatic-php-php-sdk/tree/1.2.3/doc/http-request.md)
- [HttpResponse](https://www.github.com/Syed-Subtain/apimatic-php-php-sdk/tree/1.2.3/doc/http-response.md)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance41

Moderate activity, may be stable

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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 ~42 days

Total

5

Last Release

430d ago

Major Versions

2.2.2 → 3.3.272024-09-19

### Community

Maintainers

![](https://www.gravatar.com/avatar/bdbeaa825ef32400628416417510d81348c47763c80c8fca9567cf08a448c6a4?d=identicon)[subtain](/maintainers/subtain)

---

Top Contributors

[![Syed-Subtain](https://avatars.githubusercontent.com/u/58620792?v=4)](https://github.com/Syed-Subtain "Syed-Subtain (5 commits)")

---

Tags

test

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/sdks-io-apimatic-php-sdk/health.svg)

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

###  Alternatives

[mockery/mockery

Mockery is a simple yet flexible PHP mock object framework

10.7k497.0M23.5k](/packages/mockery-mockery)[hamcrest/hamcrest-php

This is the PHP port of Hamcrest Matchers

7.1k484.1M109](/packages/hamcrest-hamcrest-php)[nelmio/alice

Expressive fixtures generator

2.5k43.4M133](/packages/nelmio-alice)[zenstruck/foundry

A model factory library for creating expressive, auto-completable, on-demand dev/test fixtures with Symfony and Doctrine.

78311.9M97](/packages/zenstruck-foundry)[php-mock/php-mock

PHP-Mock can mock built-in PHP functions (e.g. time()). PHP-Mock relies on PHP's namespace fallback policy. No further extension is needed.

36918.1M98](/packages/php-mock-php-mock)[brain/monkey

Mocking utility for PHP functions and WordPress plugin API

33412.5M349](/packages/brain-monkey)

PHPackages © 2026

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