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 1mo ago

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 43% of packages

Maintenance43

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

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

456d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/fa3cb687e91a12a4112b49c44af59d3465c08a5316774640744becc08da610f6?d=identicon)[jbostoen](/maintainers/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

[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M271](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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