PHPackages                             ojisatriani/mikrotikapi - 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. ojisatriani/mikrotikapi

ActiveLibrary[API Development](/categories/api)

ojisatriani/mikrotikapi
=======================

Router Mikrotik API

1.0.4(6y ago)01141MITPHPPHP &gt;=5.6.0

Since Mar 15Pushed 6y ago1 watchersCompare

[ Source](https://github.com/ojisatriani/mikrotikapi)[ Packagist](https://packagist.org/packages/ojisatriani/mikrotikapi)[ RSS](/packages/ojisatriani-mikrotikapi/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (6)Used By (0)

Mikrotik APi Laravel
--------------------

[](#mikrotik-api-laravel)

Client API for RouterOS/Mikrotik

Instalation
-----------

[](#instalation)

Via composer:

```
composer require ojisatriani/mikrotikapi

```

Manual composer.json in require section:

```
"require": {
    "ojisatriani/mikrotikapi": "dev-master", // ram() .''; // 1652.2
echo $router->hdd() .''; // 915.8
echo $router->cpu() .''; // 0
echo $router->rx('ether1') .''; // 1.85Kb/Mb/Gb/Tb
echo $router->tx('ether1') .''; // 47.7Kb/Mb/Gb/Tb
echo $router->rxInMb('ether1') .''; // 1.85 (view chart or graph)
echo $router->txInMb('ether1') .''; // 47.70 (view chart or graph)
echo json_encode($router->getInterface()) .''; //  {"ether1":"ether1","ether2:ether2","ether3:ether3"}
echo $router->command('log/print'); //  return array()

```

Mikrotik Wiki page at [http://wiki.mikrotik.com/wiki/API\_PHP\_class](http://wiki.mikrotik.com/wiki/API_PHP_class)

Configure API credentials
-------------------------

[](#configure-api-credentials)

*RouterOS Winbox*

1. Enabling API.

Go to **IP** -&gt; **Services** and enable **api** service.

2. Creating API user.

Go to **System** -&gt; **Users**, tab **Groups**. Create new group with permissions: `api`, `read`, `write`.

Then after group created go to tab `Users` and create new. Associate this user with group previously created.

Done.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity62

Established project with proven stability

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

Total

5

Last Release

2499d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f209e738a87ffe8e53be60dbbaeddf5fd1afe3650647c8e521f1d57453d5986c?d=identicon)[ojisatriani](/maintainers/ojisatriani)

### Embed Badge

![Health badge](/badges/ojisatriani-mikrotikapi/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

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

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

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

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)[emartech/emarsys-magento2-extension

Magento2 integration for the Emarsys Marketing Platform

14273.9k](/packages/emartech-emarsys-magento2-extension)

PHPackages © 2026

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