PHPackages                             titravel/api-sdk-php - 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. titravel/api-sdk-php

ActiveLibrary

titravel/api-sdk-php
====================

To Island Travel's PHP SDK for API

v0.2.14(3y ago)11.3kApache-2.0PHPPHP &gt;=5.3.0

Since Jan 13Pushed 3y ago9 watchersCompare

[ Source](https://github.com/toislandstravel/titravel-sdk-php)[ Packagist](https://packagist.org/packages/titravel/api-sdk-php)[ Docs](https://github.com/toislandstravel/titravel-sdk-php)[ RSS](/packages/titravel-api-sdk-php/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (10)DependenciesVersions (21)Used By (0)

To Islands Travel API SDK for PHP
=================================

[](#to-islands-travel-api-sdk-for-php)

[![Latest Stable Version](https://camo.githubusercontent.com/1fa4176ff4a011c56cb7a0119fca57523046b43491e61e38ff33307b40b097a8/68747470733a2f2f706f7365722e707567782e6f72672f746974726176656c2f6170692d73646b2d7068702f762f737461626c652e706e67)](https://packagist.org/packages/titravel/api-sdk-php) [![Total Downloads](https://camo.githubusercontent.com/8c8665d2a7db13d4e570f9c392ea8d82205fc40917a54829e8f3aec05ab3eef5/68747470733a2f2f706f7365722e707567782e6f72672f746974726176656c2f6170692d73646b2d7068702f646f776e6c6f6164732e706e67)](https://packagist.org/packages/titravel/api-sdk-php)

This repository contains To Islands Travel's PHP SDK and samples for our API

Prerequisites
-------------

[](#prerequisites)

- PHP 5.3 or above
- curl extension must be enabled
- json extension must be enabled
- composer for fetching dependencies (See )

Samples
-------

[](#samples)

- [Running the samples](sample/)

Usage
-----

[](#usage)

To write an app that uses the SDK

- add `titravel/api-sdk-php` to your `composer.json` require list or copy the [sample/composer.json](sample/composer.json) to your project's root
- run `composer update --no-dev` to fetch dependencies
- obtain API credentials from [To Islands Travel](http://www.titravel.hr/)
- now you are all set to make your first API call

```
$apiCredentials = new \TiTravel\Auth\Credentials($config['b2b'], $config['code']);

try {
    $params = array(
        'city_id' => null,
        'category_id' => null,
    );
    $properties = PropertiesInfo::all($params, $apiCredentials);
} catch (Exception $ex) {
    echo 'Exception:', $ex->getMessage(), PHP_EOL;
    exit(1);
}

print_r($properties->toArray());
```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 82.9% 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 ~199 days

Recently: every ~343 days

Total

17

Last Release

1305d ago

### Community

---

Top Contributors

[![mbman](https://avatars.githubusercontent.com/u/1536385?v=4)](https://github.com/mbman "mbman (87 commits)")[![ivomamic](https://avatars.githubusercontent.com/u/1736435?v=4)](https://github.com/ivomamic "ivomamic (10 commits)")[![lemonxxl](https://avatars.githubusercontent.com/u/25401356?v=4)](https://github.com/lemonxxl "lemonxxl (4 commits)")[![mihael-91](https://avatars.githubusercontent.com/u/6875941?v=4)](https://github.com/mihael-91 "mihael-91 (4 commits)")

### Embed Badge

![Health badge](/badges/titravel-api-sdk-php/health.svg)

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

PHPackages © 2026

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