PHPackages                             valentinbv/wialon-php-sdk - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. valentinbv/wialon-php-sdk

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

valentinbv/wialon-php-sdk
=========================

wialon php sdk library

v0.0.2(6y ago)358MITPHPPHP &gt;=7.1

Since Jun 9Pushed 6y ago1 watchersCompare

[ Source](https://github.com/ValentinBV/wialon-php-sdk)[ Packagist](https://packagist.org/packages/valentinbv/wialon-php-sdk)[ RSS](/packages/valentinbv-wialon-php-sdk/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

wialon-php-sdk
==============

[](#wialon-php-sdk)

PHP library for Wialon API interaction, includes API methods.

1. Prerequisites
----------------

[](#1-prerequisites)

- PHP 7.1 or later
- guzzlehttp/guzzle": "~6.0"

2. Installation
---------------

[](#2-installation)

The wialon-php-sdk can be installed using Composer by running the following command:

**composer require valentinbv/wialon-php-sdk**

For install from git add to composer.json:

```
{
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/ValentinBV/wialon-php-sdk.git"
        }
    ],
    "require": {
        "valentinbv/wialon-php-sdk": "dev-master"
    }
}

```

3. Initialization
-----------------

[](#3-initialization)

Create Wialon API Client object using the following code:

```
$httpClient = new GuzzleHttp\Client();
$wialonRequest = new valentinbv\Wialon\Request\Action($httpClient);
$wialonRequest->sid='your sid';

```

4. API Requests
---------------

[](#4-api-requests)

You can find the full list of Wialon API methods .

### Request sample

[](#request-sample)

Example of calling method **core/get\_account\_data**:

```
$httpClient = new GuzzleHttp\Client();
$wialonRequest = new valentinbv\Wialon\Request\Action($httpClient);
$wialonRequest->sid='your sid';
try {
    $result = $wialonRequest->execute(
        'core/get_account_data',
        ['type' => 2]
    );
} catch(\Exception  $e) {
    //some action
}

```

The $result array contains the result of the query to the wialon server according to the documentation

5. Structure
------------

[](#5-structure)

All classes for working with the Wialon API are derived from the base class.valentinbv\\Wialon\\Request\\BaseRequest

So, you can execute a request to the Wialon API using the base class

```
$httpClient = new GuzzleHttp\Client();
$wialonRequest = new valentinbv\Wialon\Request\BaseRequest($httpClient);
$wialonRequest->sid='your sid';
try {
    $result = $wialonRequest->request(
        [
            'sid' => 'your sid',
            'svc' => 'core/get_account_data',
            'params' => json_encode(['type' => 1])
        ]
    );
} catch(\Exception  $e) {
    //some action
}

```

The above method is convenient to use when you need to execute an arbitrary request or a request from a section

For most requests, the valentinbv\\Wialon\\Request\\Action class is more convenient.

A special class for receiving events has also been added. This query is conveniently used to maintain a session according to the documentation. [https://sdk.wialon.com/wiki/en/sidebar/remoteapi/apiref/requests/avl\_evts](https://sdk.wialon.com/wiki/en/sidebar/remoteapi/apiref/requests/avl_evts)

```
$httpClient = new GuzzleHttp\Client();
$wialonRequest = new valentinbv\Wialon\Request\Events($httpClient);
$wialonRequest->sid='your sid';
try {
    $result = $wialonRequest->execute();
} catch(\Exception  $e) {
    //some action
}

```

support:

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

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 ~2 days

Total

2

Last Release

2212d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

wialonwialon phpwialon php sdkwialon php sdk oauthwialon php library

### Embed Badge

![Health badge](/badges/valentinbv-wialon-php-sdk/health.svg)

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

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M47](/packages/tencentcloud-tencentcloud-sdk-php)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[oat-sa/tao-core

TAO core extension

66143.7k122](/packages/oat-sa-tao-core)

PHPackages © 2026

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