PHPackages                             journy-io/sdk - 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. [API Development](/categories/api)
4. /
5. journy-io/sdk

ActiveLibrary[API Development](/categories/api)

journy-io/sdk
=============

This is the official PHP SDK for journy.io

3.1.2(3y ago)36.3kMITPHPPHP ^7.0 || ^8.0

Since Jan 16Pushed 2y ago2 watchersCompare

[ Source](https://github.com/journy-io/php-sdk)[ Packagist](https://packagist.org/packages/journy-io/sdk)[ Docs](https://github.com/journy-io/sdk)[ RSS](/packages/journy-io-sdk/feed)WikiDiscussions main Synced today

READMEChangelog (10)Dependencies (8)Versions (14)Used By (0)

[![journy.io](banner.png)](https://journy.io/?utm_source=github&utm_content=readme-php-sdk)

journy.io PHP SDK
=================

[](#journyio-php-sdk)

[![Latest version on Packagist](https://camo.githubusercontent.com/0cca7df27115b9db01d357f8ce9121982a38d535dbe8d0961e199e2364dcca95/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a6f75726e792d696f2f73646b3f636f6c6f723d253233346438346635267374796c653d666c61742d737175617265)](https://packagist.org/packages/journy-io/sdk)[![Downloads](https://camo.githubusercontent.com/69eb11948b295b7e8cf0712643ca4ca9ad4ec1386e2ce9c01e9532cb207ce4f6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6a6f75726e792d696f2f73646b3f636f6c6f723d253233346438346635267374796c653d666c61742d737175617265)](https://packagist.org/packages/journy-io/sdk)[![Supported PHP versions](https://camo.githubusercontent.com/0def18914328b10095e11cfb4e6193f4ba61eec3553d9c038b752717208d90e4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6a6f75726e792d696f2f73646b3f636f6c6f723d253233346438346635267374796c653d666c61742d737175617265)](https://packagist.org/packages/journy-io/sdk)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)

This is the official PHP SDK for [journy.io](https://journy.io?utm_source=github&utm_content=readme-php-sdk).

💾 Installation
--------------

[](#-installation)

You can use composer to install the SDK:

```
composer require journy-io/sdk
```

You will also need a PSR-7 implementation (HTTP messages), PSR-17 implementation (HTTP factory) and PSR-18 implementation (HTTP client).

If your app doesn't have these yet installed, we recommend:

```
composer require kriswallsmith/buzz nyholm/psr7
```

-
-

🔌 Getting started
-----------------

[](#-getting-started)

### Configuration

[](#configuration)

To be able to use the SDK you need to generate an API key. If you don't have one you can create one in [journy.io](https://system.journy.io?utm_source=github&utm_content=readme-php-sdk).

If you don't have an account yet, you can create one in [journy.io](https://system.journy.io/register?utm_source=github&utm_content=readme-php-sdk) or [request a demo first](https://www.journy.io/book-demo?utm_source=github&utm_content=readme-php-sdk).

Go to your settings, under the *Connections*-tab, to create and edit API keys. Make sure to give the correct permissions to the API Key.

```
use JournyIO\SDK\Client;

// composer require kriswallsmith/buzz nyholm/psr7
$client = Client::withDefaults("your-api-key");
```

If you want to use your own HTTP client (PSR-18):

```
use Buzz\Client\Curl;
use JournyIO\SDK\Client;
use Nyholm\Psr7\Factory\Psr17Factory;

// https://github.com/Nyholm/psr7
$factory = new Psr17Factory();

// https://github.com/kriswallsmith/Buzz
$http = new Curl($factory, ["timeout" => 5]);

$client = new Client($http, $factory, $factory, ["apiKey" => "your-api-key"]);
```

### Methods

[](#methods)

#### Get API key details

[](#get-api-key-details)

```
use JournyIO\SDK\ApiKeyDetails;

$call = $client->getApiKeyDetails();

if ($call->succeeded()) {
    $result = $call->result();

    if ($result instanceof ApiKeyDetails) {
        var_dump($result->getPermissions()); // string[]
    }
} else {
    var_dump($call->errors());
}
```

### Handling errors

[](#handling-errors)

Every call will return a result, we don't throw errors when a call fails. We don't want to break your application when things go wrong. An exception will be thrown for required arguments that are empty or missing.

```
$call = $client->getTrackingSnippet("blog.acme.com");

var_dump($call->succeeded()); // bool
var_dump($call->rateLimited()); // bool
var_dump($call->remainingRequests()); // int
var_dump($call->maxRequests()); // int
var_dump($call->errors()); // array
```

📬 API Docs
----------

[](#-api-docs)

[API reference](https://developers.journy.io)

💯 Tests
-------

[](#-tests)

To run the tests:

```
composer run test
```

❓ Help
------

[](#-help)

We welcome your feedback, ideas and suggestions. We really want to make your life easier, so if we’re falling short or should be doing something different, we want to hear about it.

Please create an issue or contact us via the chat on our website.

🔒 Security
----------

[](#-security)

If you discover any security related issues, please email security at journy io instead of using the issue tracker.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 61.5% 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 ~49 days

Recently: every ~92 days

Total

13

Last Release

1346d ago

Major Versions

1.0.1 → 2.0.02021-01-28

2.0.0 → 3.0.02021-03-29

### Community

Maintainers

![](https://www.gravatar.com/avatar/57f8e9ae794ec5f6356051fe78571734cac83fd87d52f02207cfee590f720ea7?d=identicon)[journy-io](/maintainers/journy-io)

---

Top Contributors

[![hansott](https://avatars.githubusercontent.com/u/3886384?v=4)](https://github.com/hansott "hansott (59 commits)")[![ManuDeBuck](https://avatars.githubusercontent.com/u/36775261?v=4)](https://github.com/ManuDeBuck "ManuDeBuck (28 commits)")[![miguelopes98](https://avatars.githubusercontent.com/u/57925193?v=4)](https://github.com/miguelopes98 "miguelopes98 (6 commits)")[![ChatoDeVeirman](https://avatars.githubusercontent.com/u/5909098?v=4)](https://github.com/ChatoDeVeirman "ChatoDeVeirman (3 commits)")

---

Tags

phpphp7php8sdksdk-phpsdkjourny-io

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/journy-io-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/journy-io-sdk/health.svg)](https://phpackages.com/packages/journy-io-sdk)
```

###  Alternatives

[openai-php/client

OpenAI PHP is a supercharged PHP API client that allows you to interact with the Open AI API

5.8k22.6M232](/packages/openai-php-client)[saloonphp/saloon

Build beautiful API integrations and SDKs with Saloon

2.4k9.6M467](/packages/saloonphp-saloon)[getbrevo/brevo-php

Official Brevo provided RESTFul API V3 php library

963.1M35](/packages/getbrevo-brevo-php)[swisnl/json-api-client

A PHP package for mapping remote JSON:API resources to Eloquent like models and collections.

211473.2k12](/packages/swisnl-json-api-client)[wordpress/php-ai-client

A provider agnostic PHP AI client SDK to communicate with any generative AI models of various capabilities using a uniform API.

26236.6k14](/packages/wordpress-php-ai-client)[mozex/anthropic-php

Anthropic PHP is a supercharged community-maintained PHP API client that allows you to interact with Anthropic API.

46365.1k13](/packages/mozex-anthropic-php)

PHPackages © 2026

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