Download the PHP package comfino/php-sdk without Composer

On this page you can find all versions of the php package comfino/php-sdk. 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 php-sdk

ComfinoPay PHP SDK

Latest Version PHP Version Build Status Total Downloads API Documentation

ComfinoPay PHP SDK with backend routines for e-commerce platforms integration

A complete PHP backend library for integrating any application or e-commerce platform with the ComfinoPay payment gateway API. Whether you are building a custom integration for a closed platform, writing a payment plugin for an open-source e-commerce system, or embedding ComfinoPay financing into your own application, this SDK provides all the backend building blocks you need.

The library covers the full integration lifecycle: API communication, secure webhook handling, configuration management, payment product filtering, category-based eligibility checks, and frontend widget support. All integration points are defined as interfaces, so the SDK adapts to any PHP application stack without imposing a concrete HTTP client, logger, or cache implementation.

Lightweight integration? If you only need the HTTP API layer — requests, responses, DTOs, retry, and auth — without the full plugin infrastructure, you can depend directly on the lower-level package:

comfino/php-api-client is the standalone API client that this SDK builds upon. It ships the PSR-18 HTTP client, all request/response classes, error types, and the webhook signature verifier, but nothing else. See the php-api-client documentation for details.

Features

Requirements

Installation

Suggested companion packages:

Quick start

Serving more than one merchant

A Client is its credential, which is the right shape for a plugin installed in a shop. In a long-lived process that serves many merchants — a SaaS connector, a queue worker — use the stateless client instead: nothing about a tenant lives on it, so one instance can be a container service and the tenant travels per call.

The same rule runs through the rest of the SDK: ConfigurationManager, SettingsManager, StatusManager, ProductTypeFilterManager and the loggers take a tenant scope in getInstance(), CacheManager::forScope($tenant) returns a per-tenant cache, and WebhookManager resolves the tenant before it verifies a signature. See UPGRADE.md if you are moving an existing integration to 3.0.

Documentation

Topic Guide
Architecture, design patterns, namespace map docs/architecture.md
API client: all operations, error handling, retry docs/api-client.md
Building order, cart and customer objects docs/order-and-cart.md
Webhook handling and custom endpoints docs/webhooks.md
Configuration management docs/configuration.md
Payment filtering and category tree docs/payment-filtering.md
Outbound request queue and retry handling docs/outbound-request-queue.md
Upgrading an existing integration UPGRADE.md
Standalone API client (lightweight integration) comfino/php-api-client

Development

The bin/ wrappers delegate to Docker containers when docker-compose is available, or fall back to the host PHP. Two containers are used:

PSR standards

Changelog

See CHANGELOG for recent changes.

License

BSD 3-Clause License. See LICENSE for details.

Support

Bug reports and feature requests: GitHub issue tracker.

Contributing

The GitHub repository is a read-only public mirror that receives automated clean-snapshot releases. Please report bugs and suggest improvements via the issue tracker.


All versions of php-sdk with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
ext-json Version *
comfino/php-api-client Version ^3.2
psr/cache Version ^1.0 || ^2.0 || ^3.0
psr/log Version ^1.1 || ^2.0 || ^3.0
symfony/cache-contracts Version ^2.0 || ^3.0
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 comfino/php-sdk contains the following files

Loading the files please wait ...