PHPackages                             weltongbi/mikrotik-api - 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. weltongbi/mikrotik-api

ActiveLibrary[API Development](/categories/api)

weltongbi/mikrotik-api
======================

Mikrotik API PHP Library for working with RouterOS API 2019

v0.9.1(7y ago)32814[1 issues](https://github.com/weltongbi/mikrotik-api/issues)MITPHPPHP &gt;=5.3.3

Since Jul 12Pushed 7y ago1 watchersCompare

[ Source](https://github.com/weltongbi/mikrotik-api)[ Packagist](https://packagist.org/packages/weltongbi/mikrotik-api)[ RSS](/packages/weltongbi-mikrotik-api/feed)WikiDiscussions master Synced today

READMEChangelog (3)DependenciesVersions (4)Used By (0)

Mikrotik Api 2018 - 2019
========================

[](#mikrotik-api-2018---2019)

==============

[![Latest Stable Version](https://camo.githubusercontent.com/8434da263cc245a8a5b908c72c4f019d15c85cf6d902544370261b5b391fa9a1/68747470733a2f2f706f7365722e707567782e6f72672f77656c746f6e6762692f6d696b726f74696b2d6170692f762f737461626c65)](https://packagist.org/packages/weltongbi/mikrotik-api)[![Total Downloads](https://camo.githubusercontent.com/3b094021ff3540b29c9f70d55f7f676ea0469270153d75a665328316f074c451/68747470733a2f2f706f7365722e707567782e6f72672f77656c746f6e6762692f6d696b726f74696b2d6170692f646f776e6c6f616473)](https://packagist.org/packages/weltongbi/mikrotik-api)[![Latest Unstable Version](https://camo.githubusercontent.com/5e3b7ad389e44eb796205b15b55e7c67ccc547e411070f35a837e428931d5ddf/68747470733a2f2f706f7365722e707567782e6f72672f77656c746f6e6762692f6d696b726f74696b2d6170692f762f756e737461626c65)](https://packagist.org/packages/weltongbi/mikrotik-api)[![License](https://camo.githubusercontent.com/796f42494be798618da1ccc153ef1b7a83d4c8ca2e9c0593b93faaf30e8fe167/68747470733a2f2f706f7365722e707567782e6f72672f77656c746f6e6762692f6d696b726f74696b2d6170692f6c6963656e7365)](https://packagist.org/packages/weltongbi/mikrotik-api)[![Build Status](https://camo.githubusercontent.com/e3a3c498095f4ffeb0b9472ba90c95910df4fe432863e1817a8b3d6a6d4eef0d/68747470733a2f2f7472617669732d63692e6f72672f77656c746f6e6762692f6d696b726f74696b2d6170692e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/weltongbi/mikrotik-api)[![codecov](https://camo.githubusercontent.com/502d1d67aaab88def4742ab14575186323804401867fe309db345ead9d5fe5da/68747470733a2f2f636f6465636f762e696f2f67682f77656c746f6e6762692f6d696b726f74696b2d6170692f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/weltongbi/mikrotik-api)

- V6 support
- Direct Commands
- Autocompletion code for intellisense
- PHPUnit
- Examples
- Magical methods (20% completed)
- Full phpUnit (20% completed)
- Laravel Support
- Codeigniter Support
- completed 100%

Manual:
-------

[](#manual)

#### Requirements

[](#requirements)

```
PHP >= 7.2
extension=php_sockets
```

#### Installation:

[](#installation)

**-** Require the package via Composer

```
composer require weltongbi/mikrotik-api
```

PHPUnit:
--------

[](#phpunit)

#### Requeriments

[](#requeriments)

```
mikrotik Os.
```

**-** Configure env variable for test in **phpunit.xml**

```

```

**-** Run Tests

```
.\vendor\bin\phpunit
```

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 70.7% 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 ~0 days

Total

3

Last Release

2910d ago

Major Versions

v0.9.1 → v2.0-beta.12018-07-12

PHP version history (2 changes)v0.8.0PHP &gt;=5.3.3

v2.0-beta.1PHP &gt;=7.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/11856399?v=4)[Welton da Silva Castro](/maintainers/weltongbi)[@weltongbi](https://github.com/weltongbi)

---

Top Contributors

[![weltongbi](https://avatars.githubusercontent.com/u/11856399?v=4)](https://github.com/weltongbi "weltongbi (29 commits)")[![nunenuh](https://avatars.githubusercontent.com/u/901090?v=4)](https://github.com/nunenuh "nunenuh (12 commits)")

---

Tags

apirouterosmikrotik

### Embed Badge

![Health badge](/badges/weltongbi-mikrotik-api/health.svg)

```
[![Health](https://phpackages.com/badges/weltongbi-mikrotik-api/health.svg)](https://phpackages.com/packages/weltongbi-mikrotik-api)
```

###  Alternatives

[pear2/net_routeros

This package allows you to read and write information from a RouterOS host using MikroTik's RouterOS API.

250113.3k4](/packages/pear2-net-routeros)[ben-menking/routeros-api

Client API for RouterOS/Mikrotik

3796.5k](/packages/ben-menking-routeros-api)[m165437/laravel-blueprint-docs

API Blueprint Renderer for Laravel

22779.5k](/packages/m165437-laravel-blueprint-docs)

PHPackages © 2026

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