PHPackages                             jbostoen/itop-rest-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. jbostoen/itop-rest-php

ActiveLibrary[API Development](/categories/api)

jbostoen/itop-rest-php
======================

iTop REST/JSON API client - PHP library

v25.02.09(1y ago)112MITPHP

Since Jan 2Pushed 1y ago3 watchersCompare

[ Source](https://github.com/jbostoen/itop-jb-rest-php)[ Packagist](https://packagist.org/packages/jbostoen/itop-rest-php)[ Docs](https://github.com/jbostoen/itop-jb-rest-php)[ RSS](/packages/jbostoen-itop-rest-php/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (5)Used By (0)

iTop REST implementation (PHP)
==============================

[](#itop-rest-implementation-php)

Copyright (C) 2019-2025 Jeffrey Bostoen

[![License](https://camo.githubusercontent.com/2379000372a16a4c2580fb1de2cdb14fd4e6cfed2231e9b174858b78f8108c04/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6a626f73746f656e2f69546f702d637573746f6d2d657874656e73696f6e73)](https://github.com/jbostoen/iTop-custom-extensions/blob/master/license.md)[![Donate](https://camo.githubusercontent.com/604e3db9c8751116b3f765aad0353ec7ded655bbe8aaacbc38d8c4a6b784b3ed/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f446f6e6174652d50617950616c2d677265656e2e737667)](https://www.paypal.me/jbostoen)🍻 ☕

Need assistance with iTop or one of its extensions?
Need custom development?
Please get in touch to discuss the terms: **** /

What?
-----

[](#what)

A simple PHP implementation that offers easy access to the most important iTop REST/JSON API actions.

Basic support for:

```
* core/check_credentials
* core/get
* core/create
* core/update
* core/delete
* core/apply_stimulus

```

There's a generic method to post and process other info.
Also supports preparing and sending base64 encoded data (files).

Quick install
-------------

[](#quick-install)

`composer require jbostoen/itop-rest-php`

Examples
--------

[](#examples)

```

require('vendor/autoload.php');

use JeffreyBostoen\iTopRestService\Service;

$oService = new iTopRest('user', 'pwd', 'http://localhost/itop/web/webservices/rest.php');

// Fetch objects of type "Person".
$oResponse = $oService->Get([
	'key' => 'SELECT Person',
]);

foreach($oResponse->results as $sId => $aData) {

	// Do something.

}

// Create new Person.
$oResponse->Create([
	'class' => 'Person',
	'fields' => [
		'org_id' => 1,
		'first_name' => 'John',
		'name' => 'Smith',
		'notify' => 'yes'
	]
]);

// Update Person.
$oResponse->Update([
	'class' => 'Person',
	'key' => 1, // Id of Person, or OQL string
	'fields' => [
		'notify' => 'yes'
	],
	'comment' => 'Some comment about the update',
]);

// Delete person.
$oResponse->Delete([
	'class' => 'Person',
	'key' => 'SELECT Person WHERE first_name = "John" AND name = "Smith"', // Id of Person, or OQL string
	'comment' => 'Some comment about the deletion',
]);

```

**Options**

Show trace output (shows cURL and iTop errors, sent and received data, ...):

```
$oService->SetTraceLogFileName('/var/log/api.log');

```

Bypass SSL/TLS check:

```
$oService->SetSkipCertificateCheck(true);

```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance40

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~12 days

Total

4

Last Release

509d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6421683?v=4)[jbostoen](/maintainers/jbostoen)[@jbostoen](https://github.com/jbostoen)

---

Top Contributors

[![jbostoen](https://avatars.githubusercontent.com/u/6421683?v=4)](https://github.com/jbostoen "jbostoen (4 commits)")

---

Tags

itopitop

### Embed Badge

![Health badge](/badges/jbostoen-itop-rest-php/health.svg)

```
[![Health](https://phpackages.com/badges/jbostoen-itop-rest-php/health.svg)](https://phpackages.com/packages/jbostoen-itop-rest-php)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

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

Hubspot API client

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

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/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)
