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

ActiveLibrary[API Development](/categories/api)

yetti/api
=========

API bindings for the Yetti platform

284PHP

Since Jan 8Pushed 12y ago1 watchersCompare

[ Source](https://github.com/YettiPowered/php-bindings)[ Packagist](https://packagist.org/packages/yetti/api)[ RSS](/packages/yetti-api/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Yetti API PHP bindings
======================

[](#yetti-api-php-bindings)

[![Build Status](https://camo.githubusercontent.com/ecce996e6af75d0ac0e9078e3b7a1a17c5f716a5af18b781c3bc0a0c2086d65d/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f5965747469506f77657265642f7068702d62696e64696e67732e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/YettiPowered/php-bindings)

This package contains PHP API bindings for the [Yetti API](https://github.com/YettiPowered/api-docs).

For more details on Yetti, please refer to . We welcome comments, feedback and bug reports at .

Requirements
------------

[](#requirements)

- PHP 5.3 or above.
- PHP's cURL module.

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

[](#installation)

Install with composer, simply add to your composer.json:

```
"require": {
	"yetti/api": "dev-master"
}

```

Examples
--------

[](#examples)

Creating an item is simple:

```
use Yetti\API\Webservice as Webservice;
use Yetti\API\Item as Item;

Webservice::setDefaultBaseUri('https://yoursite.secure.yetti.co.uk');
Webservice::setDefaultAccessKey('your-access-key');
Webservice::setDefaultPrivateKey('your-private-key');

$item = new Item();
$item->loadTemplate(1);
$item->setName('my-big-news');
$item->setPropertyValue('Name', 'My big news..!');
$item->setPropertyValue('Body', 'I have decided to become a whale.');

echo $item->save()->success() ? 'Item saved' : 'Save failed';
```

And there really isn't anything much more complicated than that. Please see the included docs and tests directories for additional help and examples.

Docs
----

[](#docs)

The included documentation was generated directly from the source code using the [phpDocumentor 2](http://www.phpdoc.org) tool.

To regenerate the API docs, make sure that you have phpDocumentor 2 installed, cd to the api bindings directory then run:

rm -rf docs &amp;&amp; phpdoc

Tests
-----

[](#tests)

The tests are written using [PHPUnit 3.7.24](/sebastianbergmann/phpunit/).

To run the tests, cd to the api bindings directory then run:

```
composer install
phpunit .

```

Contributing
------------

[](#contributing)

The Yetti APIs are under active development, as are these PHP bindings. If you find a bug or have specific comments, please use GitHub issues. If you'd like to help us make these bindings better then feel free to fork and send pull requests.

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/197013?v=4)[Sam Holman](/maintainers/samholman)[@samholman](https://github.com/samholman)

---

Top Contributors

[![cmbuckley](https://avatars.githubusercontent.com/u/80938?v=4)](https://github.com/cmbuckley "cmbuckley (5 commits)")[![MartinBlackburn](https://avatars.githubusercontent.com/u/962808?v=4)](https://github.com/MartinBlackburn "MartinBlackburn (5 commits)")[![samholman](https://avatars.githubusercontent.com/u/197013?v=4)](https://github.com/samholman "samholman (1 commits)")

### Embed Badge

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

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M19](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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