Download the PHP package apimatic/core without Composer

On this page you can find all versions of the php package apimatic/core. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package core

APIMatic Core Library for PHP

Version Tests Test Coverage Maintainability

Introduction

Core logic and the utilities for the Apimatic's PHP SDK.

Supported PHP Versions

Install the Package

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

Request

Name Description
AdditionalFormParams Used to add additional form params to a request
AdditionalHeaderParams Used to add additional header params to a request
AdditionalQueryParams Used to add additional query params to a request
BodyParam Body parameter class
FormParam Form parameter class
HeaderParam Header parameter class
QueryParam Query parameter class
TemplateParam Template parameter class
RequestBuilder Used to instantiate a new Request object with the properties provided
Request Request class for an API call

Response

Name Description
DeserializableType Type handler used to deserialize Enums and DateTime
ErrorType Type handler used to throw exceptions from responses
ResponseMultiType Maps a group of types to response body
ResponseType Maps a model to response body
ResponseError Group of error types for response
ResponseHandler Response handler for an API call that holds all the above response handling features
Context Holds the current context i.e. the current request, response and other needed details

Logger

Name Description
ApiLogger Provides implementation for logging API requests and responses
NullApiLogger Provides the default implementation for ApiLogger when no logging configuration is provided
ConsoleLogger A LoggerInterface implementation that log messages on console
LoggerConstants Holds constants like NON_SENSITIVE_HEADERS, etc.
BaseHttpLoggingConfiguration Common configurations shared by request and response logging configurations
LoggingConfiguration Provides client's logging configurations
RequestConfiguration Provides request's logging configurations
ResponseConfiguration Provides response's logging configurations

TestCase

Name Description
KeysAndValuesBodyMatcher Matches actual and expected body, considering both the keys and values
KeysBodyMatcher Matches actual and expected body, considering just the keys
NativeBodyMatcher A body matcher for native values like string, int etc
RawBodyMatcher Exactly matches the body received to expected body
HeadersMatcher Matches the headers received and the headers expected
StatusCodeMatcher Matches the HTTP status codes received to the expected ones
CoreTestCase Main class for a test case that performs assertions w/ all the above matchers

All versions of core with dependencies

PHP Build Version
Package Version
Requires php Version ^7.2 || ^8.0
ext-json Version *
ext-curl Version *
ext-dom Version *
ext-libxml Version *
psr/log Version ^1.1.4 || ^2.0.0 || ^3.0.0
apimatic/core-interfaces Version ~0.1.5
apimatic/jsonmapper Version ^3.1.1
php-jsonpointer/php-jsonpointer Version ^3.0.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package apimatic/core contains the following files

Loading the files please wait ....