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

ActiveLibrary[API Development](/categories/api)

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 2d 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 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community16

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

1309d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1993e2e3c3707e7a9bddb2e1b6e722086cfbc8d1ddb686ae737f6da77619ccae?d=identicon)[mbman](/maintainers/mbman)

![](https://www.gravatar.com/avatar/29a2056879e7f3fcba9bb8ac4b4f1014bade70604da8ae13c672415a7991278d?d=identicon)[ivomamic](/maintainers/ivomamic)

![](https://www.gravatar.com/avatar/b3af243e1ce5796e98ca8b840687a3ca6da5cf7eed1a633ba8513698d6b0aa8d?d=identicon)[toislandstravel](/maintainers/toislandstravel)

---

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)")

---

Tags

apisdktitraveltoislandstravel

### 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)
```

###  Alternatives

[deepseek-php/deepseek-php-client

deepseek PHP client is a robust and community-driven PHP client library for seamless integration with the Deepseek API, offering efficient access to advanced AI and data processing capabilities.

47073.9k5](/packages/deepseek-php-deepseek-php-client)[jstolpe/instagram-graph-api-php-sdk

Instagram Graph API PHP SDK

13998.4k2](/packages/jstolpe-instagram-graph-api-php-sdk)

PHPackages © 2026

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