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(5y ago)358MITPHPPHP &gt;=7.1

Since Jun 9Pushed 5y 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 today

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

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

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

Total

2

Last Release

2157d ago

### Community

Maintainers

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

[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[dhlparcel/magento2-plugin

DHL Parcel plugin for Magento 2

11180.5k2](/packages/dhlparcel-magento2-plugin)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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