PHPackages                             apimatic/core-interfaces - 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. apimatic/core-interfaces

ActiveLibrary

apimatic/core-interfaces
========================

Definition of the behavior of apimatic/core, apimatic/unirest-php and Apimatic's PHP SDK

0.1.5(2y ago)72.4M—3.3%220MITPHPPHP ^7.2 || ^8.0CI passing

Since Sep 30Pushed 5mo ago2 watchersCompare

[ Source](https://github.com/apimatic/core-interfaces-php)[ Packagist](https://packagist.org/packages/apimatic/core-interfaces)[ Docs](https://github.com/apimatic/core-interfaces-php)[ RSS](/packages/apimatic-core-interfaces/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)DependenciesVersions (10)Used By (20)

APIMatic Core Library Interfaces
================================

[](#apimatic-core-library-interfaces)

[![version](https://camo.githubusercontent.com/521ec7a98a9a59415e77eebcd98822664012c9fcdfa4016cb2eef9de415364e1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6170696d617469632f636f72652d696e74657266616365732e7376673f7374796c653d666c6174)](https://packagist.org/packages/apimatic/core-interfaces)[![Maintainability Rating](https://camo.githubusercontent.com/d504768085e54eba076092614b6629917db265d4a1ca0d8fa20b10213e0f0fc8/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6170696d617469635f636f72652d696e74657266616365732d706870266d65747269633d7371616c655f726174696e67)](https://sonarcloud.io/summary/new_code?id=apimatic_core-interfaces-php)[![Vulnerabilities](https://camo.githubusercontent.com/f4699e21846bd08268b1fe86eae2775502399cd0551295d41efd7375a3d65182/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6170696d617469635f636f72652d696e74657266616365732d706870266d65747269633d76756c6e65726162696c6974696573)](https://sonarcloud.io/summary/new_code?id=apimatic_core-interfaces-php)[![Licence](https://camo.githubusercontent.com/b8cadaa967891081f8f165695470689986c028821dd8a040132f6e661795dc0d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c7565)](LICENSE)

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

[](#introduction)

Definition of the behavior of apimatic/core, apimatic/unirest-php and APIMatic's PHP SDK

Supported PHP Versions
----------------------

[](#supported-php-versions)

- PHP 7.2
- PHP 7.4
- PHP 8.0
- PHP 8.1
- PHP 8.2

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 "apimatic/core-interfaces"
```

Interfaces
----------

[](#interfaces)

NameDescription[`ContextInterface`](src/Core/ContextInterface.php)To save both Request and Response after the completion of response[`AuthInterface`](src/Core/Authentication/AuthInterface.php)To Provide abstraction for all AuthManagers[`ApiLoggerInterface`](src/Core/Logger/ApiLoggerInterface.php)To set up an abstract layer for logging requests and responses[`RequestInterface`](src/Core/Request/RequestInterface.php)To get the properties from the instance of Request[`RequestSetterInterface`](src/Core/Request/RequestSetterInterface.php)To update the instance of Request[`ParamInterface`](src/Core/Request/ParamInterface.php)To Provide abstraction for common functionality of Parameters[`NonEmptyParamInterface`](src/Core/Request/NonEmptyParamInterface.php)An extension of ParamInterface, for validation of non-empty values[`TypeValidatorInterface`](src/Core/Request/TypeValidatorInterface.php)To Provide abstraction for type validation in Parameters[`ResponseInterface`](src/Core/Response/ResponseInterface.php)To get the properties from the instance of Response[`HttpConfigurations`](src/Http/HttpConfigurations.php)To hold the default configurations for HttpClient[`HttpClientInterface`](src/Http/HttpClientInterface.php)To provide abstraction to execute API call in HttpClient[`ConverterInterface`](src/Sdk/ConverterInterface.php)Holds required converter methods to create SDK classes[`ExceptionInterface`](src/Sdk/ExceptionInterface.php)Default interface for all the exception models in SDKEnumerations
------------

[](#enumerations)

NameDescription[`AuthGroup`](src/Core/Authentication/AuthGroup.php)Enumeration for multiple Auth groups[`RequestArraySerialization`](src/Core/Request/RequestArraySerialization.php)Enumeration for all ArraySerialization formats[`RequestMethod`](src/Core/Request/RequestMethod.php)Enumeration for all possible types of requests[`Format`](src/Core/Format.php)Enumeration for different formats of request body and responses[`RetryOption`](src/Http/RetryOption.php)Enumeration for RetryingOption of each API call

###  Health Score

46

—

FairBetter than 93% of packages

Maintenance50

Moderate activity, may be stable

Popularity48

Moderate usage in the ecosystem

Community34

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 83.8% 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 ~117 days

Recently: every ~111 days

Total

6

Last Release

740d ago

PHP version history (2 changes)0.1.0PHP &gt;=7.2 &lt;8.2

0.1.2PHP ^7.2 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/65c334b3d1ede690abde85f2839813a0fd24b0d0af03c3237a0820b15e9bded5?d=identicon)[apimatic](/maintainers/apimatic)

---

Top Contributors

[![asadali214](https://avatars.githubusercontent.com/u/26116671?v=4)](https://github.com/asadali214 "asadali214 (62 commits)")[![MaryamAdnan3](https://avatars.githubusercontent.com/u/80243792?v=4)](https://github.com/MaryamAdnan3 "MaryamAdnan3 (2 commits)")[![thehappybug](https://avatars.githubusercontent.com/u/3393530?v=4)](https://github.com/thehappybug "thehappybug (2 commits)")[![Floeig](https://avatars.githubusercontent.com/u/29572254?v=4)](https://github.com/Floeig "Floeig (1 commits)")[![hamzamahmood](https://avatars.githubusercontent.com/u/22651856?v=4)](https://github.com/hamzamahmood "hamzamahmood (1 commits)")[![Ayeshas09](https://avatars.githubusercontent.com/u/88117894?v=4)](https://github.com/Ayeshas09 "Ayeshas09 (1 commits)")[![Mohammad-Haris](https://avatars.githubusercontent.com/u/34305911?v=4)](https://github.com/Mohammad-Haris "Mohammad-Haris (1 commits)")[![MuHamza30](https://avatars.githubusercontent.com/u/199583608?v=4)](https://github.com/MuHamza30 "MuHamza30 (1 commits)")[![sufyankhanrao](https://avatars.githubusercontent.com/u/18752818?v=4)](https://github.com/sufyankhanrao "sufyankhanrao (1 commits)")[![usamabintariq](https://avatars.githubusercontent.com/u/31243495?v=4)](https://github.com/usamabintariq "usamabintariq (1 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

phpsdkphpinterfacecoreapimaticcorelibunirest

### Embed Badge

![Health badge](/badges/apimatic-core-interfaces/health.svg)

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

PHPackages © 2026

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