PHPackages                             trinsic/api - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. trinsic/api

ActiveLibrary[HTTP &amp; Networking](/categories/http)

trinsic/api
===========

Trinsic API PHP library.

3.2.0(1mo ago)1643MITPHPPHP ^8.1CI failing

Since Aug 19Pushed 1mo ago3 watchersCompare

[ Source](https://github.com/trinsic-id/sdk-php-api)[ Packagist](https://packagist.org/packages/trinsic/api)[ Docs](https://github.com/trinsic-id/sdk-php-api)[ RSS](/packages/trinsic-api/feed)WikiDiscussions main Synced 2d ago

READMEChangelogDependencies (12)Versions (35)Used By (0)

Trinsic API PHP Library
=======================

[](#trinsic-api-php-library)

[![Version](https://camo.githubusercontent.com/b6d06ea37401180744bb8999c491d33f69cfe6165d3429aa1f2e2d726967ac6c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7472696e7369632f617069)](https://camo.githubusercontent.com/b6d06ea37401180744bb8999c491d33f69cfe6165d3429aa1f2e2d726967ac6c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7472696e7369632f617069)[![Build Status](https://github.com/trinsic-id/sdk/actions/workflows/api-php-release.yml/badge.svg)](https://github.com/trinsic-id/sdk/actions?query=branch%main)

The Trinsic API PHP library provides convenient access to the Trinsic API from applications written in PHP.

Documentation
-------------

[](#documentation)

See the [Trinsic docs](https://docs.trinsic.id/docs/) for more detailed information on how to start integrating with our identity acceptance network.

Installation
------------

[](#installation)

Install the package with:

```
composer require trinsic/api
```

Usage
-----

[](#usage)

The package needs to be configured with your app's access token, which is available in the [Trinsic Dashboard](https://dashboard.trinsic.id).

```
use Trinsic\Api\Api\AttachmentsApi as AttachmentsApi;
use Trinsic\Api\Api\NetworkApi as NetworkApi;
use Trinsic\Api\Api\SessionsApi as SessionsApi;
use Trinsic\Api\Configuration as Configuration;

$config = new Configuration();
$config->setAccessToken("your-access-token");

$attachments = new AttachmentsApi(null, $config);
$network = new NetworkApi(null, $config);
$sessions = new SessionsApi(null, $config);
```

You can find a full PHP example in the [samples](https://github.com/trinsic-id/sdk/tree/main/api-php/samples) folder.

SDK Versioning
--------------

[](#sdk-versioning)

Our SDKs follow the [Semantic Versioning](https://semver.org) ("SemVer") scheme.

For example, the version number `1.13.0` has a major version of `1`, a minor version of `13`, and a patch version of `0`.

Breaking changes are only introduced alongside a new major version.

Support
-------

[](#support)

Any issues, inquiries, and feature requests can be sent to , or feel free to open a GitHub issue [here](https://github.com/trinsic-id/sdk/issues).

More Information
----------------

[](#more-information)

- [API Reference](https://docs.trinsic.id/reference)
- [Developer Guide](https://docs.trinsic.id/docs/developer-tools)
- [Our Blog](https://trinsic.id/blog/)
- [Schedule a demo](https://trinsic.id/contact/)

###  Health Score

48

—

FairBetter than 93% of packages

Maintenance93

Actively maintained with recent releases

Popularity17

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 95.1% 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 ~19 days

Recently: every ~47 days

Total

34

Last Release

37d ago

Major Versions

0.6.1 → 1.0.02024-09-05

1.2.0 → 2.0.0-alpha32025-03-20

2.3.0-alpha2 → 3.0.02026-01-30

PHP version history (2 changes)0.2.3PHP ^7.4 || ^8.0

2.0.1PHP ^8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/383634?v=4)[Jan-Pieter George](/maintainers/janpieterz)[@janpieterz](https://github.com/janpieterz)

---

Top Contributors

[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (39 commits)")[![janpieterz](https://avatars.githubusercontent.com/u/383634?v=4)](https://github.com/janpieterz "janpieterz (2 commits)")

---

Tags

phpapisdkrestopenapiopenapitoolsopenapi-generator

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/trinsic-api/health.svg)

```
[![Health](https://phpackages.com/badges/trinsic-api/health.svg)](https://phpackages.com/packages/trinsic-api)
```

###  Alternatives

[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[elasticemail/elasticemail-php

The PHP library for the Elastic Email REST API. This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. To start using this API, you will need your Access Token. Remember to keep it safe.

15114.7k2](/packages/elasticemail-elasticemail-php)

PHPackages © 2026

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