{"id":18051707,"url":"https://github.com/apimatic/core-interfaces-php","last_synced_at":"2026-03-16T02:35:41.412Z","repository":{"id":47599328,"uuid":"516206319","full_name":"apimatic/core-interfaces-php","owner":"apimatic","description":"Definition of the behavior of core-lib-php, unirest-php and APIMatic's PHP SDK","archived":false,"fork":false,"pushed_at":"2025-02-10T08:01:03.000Z","size":72,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-22T03:34:37.206Z","etag":null,"topics":["php","sdk"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/apimatic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-07-21T03:07:24.000Z","updated_at":"2025-02-10T07:59:01.000Z","dependencies_parsed_at":"2023-09-22T09:00:03.475Z","dependency_job_id":"4fad9e0c-baab-46c2-b6b7-d159283825b5","html_url":"https://github.com/apimatic/core-interfaces-php","commit_stats":{"total_commits":58,"total_committers":2,"mean_commits":29.0,"dds":0.03448275862068961,"last_synced_commit":"bb98a2f0674be8eb8fdc375ad8e92b162f7a64b3"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apimatic%2Fcore-interfaces-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apimatic%2Fcore-interfaces-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apimatic%2Fcore-interfaces-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apimatic%2Fcore-interfaces-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apimatic","download_url":"https://codeload.github.com/apimatic/core-interfaces-php/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248269599,"owners_count":21075783,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["php","sdk"],"created_at":"2024-10-30T22:55:08.865Z","updated_at":"2026-03-16T02:35:41.406Z","avatar_url":"https://github.com/apimatic.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# APIMatic Core Library Interfaces\n[![version][packagist-version]][packagist-url]\n[![Maintainability Rating][maintainability-badge]][maintainability-url]\n[![Vulnerabilities][vulnerabilities-badge]][vulnerabilities-url]\n[![Licence][license-badge]][license-url]\n\n## Introduction\nDefinition of the behavior of apimatic/core, apimatic/unirest-php and APIMatic's PHP SDK\n\n## Supported PHP Versions\n- PHP 7.2\n- PHP 7.4\n- PHP 8.0\n- PHP 8.1\n- PHP 8.2\n\n## Install the Package\n\nRun the following command to install the package and automatically add the dependency to your composer.json file:\n\n```php\ncomposer require \"apimatic/core-interfaces\"\n```\n\n## Interfaces\n| Name                                                                    | Description                                                        |\n|-------------------------------------------------------------------------|--------------------------------------------------------------------|\n| [`ContextInterface`](src/Core/ContextInterface.php)                     | To save both Request and Response after the completion of response |\n| [`AuthInterface`](src/Core/Authentication/AuthInterface.php)            | To Provide abstraction for all AuthManagers                        |\n| [`ApiLoggerInterface`](src/Core/Logger/ApiLoggerInterface.php)          | To set up an abstract layer for logging requests and responses     |\n| [`RequestInterface`](src/Core/Request/RequestInterface.php)             | To get the properties from the instance of Request                 |\n| [`RequestSetterInterface`](src/Core/Request/RequestSetterInterface.php) | To update the instance of Request                                  |\n| [`ParamInterface`](src/Core/Request/ParamInterface.php)                 | To Provide abstraction for common functionality of Parameters      |\n| [`NonEmptyParamInterface`](src/Core/Request/NonEmptyParamInterface.php) | An extension of ParamInterface, for validation of non-empty values |\n| [`TypeValidatorInterface`](src/Core/Request/TypeValidatorInterface.php) | To Provide abstraction for type validation in Parameters           |\n| [`ResponseInterface`](src/Core/Response/ResponseInterface.php)          | To get the properties from the instance of Response                |\n| [`HttpConfigurations`](src/Http/HttpConfigurations.php)                 | To hold the default configurations for HttpClient                  |\n| [`HttpClientInterface`](src/Http/HttpClientInterface.php)               | To provide abstraction to execute API call in HttpClient           |\n| [`ConverterInterface`](src/Sdk/ConverterInterface.php)                  | Holds required converter methods to create SDK classes             |\n| [`ExceptionInterface`](src/Sdk/ExceptionInterface.php)                  | Default interface for all the exception models in SDK              |\n\n## Enumerations\n| Name                                                                          | Description                                                     |\n|-------------------------------------------------------------------------------|-----------------------------------------------------------------|\n| [`AuthGroup`](src/Core/Authentication/AuthGroup.php)                          | Enumeration for multiple Auth groups                            |\n| [`RequestArraySerialization`](src/Core/Request/RequestArraySerialization.php) | Enumeration for all ArraySerialization formats                  |\n| [`RequestMethod`](src/Core/Request/RequestMethod.php)                         | Enumeration for all possible types of requests                  |\n| [`Format`](src/Core/Format.php)                                               | Enumeration for different formats of request body and responses |\n| [`RetryOption`](src/Http/RetryOption.php)                                     | Enumeration for RetryingOption of each API call                 |\n\n\n[packagist-url]: https://packagist.org/packages/apimatic/core-interfaces\n[packagist-version]: https://img.shields.io/packagist/v/apimatic/core-interfaces.svg?style=flat\n[packagist-downloads]: https://img.shields.io/packagist/dm/apimatic/core-interfaces.svg?style=flat\n[maintainability-badge]: https://sonarcloud.io/api/project_badges/measure?project=apimatic_core-interfaces-php\u0026metric=sqale_rating\n[maintainability-url]: https://sonarcloud.io/summary/new_code?id=apimatic_core-interfaces-php\n[vulnerabilities-badge]: https://sonarcloud.io/api/project_badges/measure?project=apimatic_core-interfaces-php\u0026metric=vulnerabilities\n[vulnerabilities-url]: https://sonarcloud.io/summary/new_code?id=apimatic_core-interfaces-php\n[license-badge]: https://img.shields.io/badge/license-MIT-blue\n[license-url]: LICENSE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapimatic%2Fcore-interfaces-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapimatic%2Fcore-interfaces-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapimatic%2Fcore-interfaces-php/lists"}