PHPackages                             ariyanshipu/router-os - 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. ariyanshipu/router-os

ActiveLibrary[API Development](/categories/api)

ariyanshipu/router-os
=====================

Mikrotik API PHP Library for working with RouterOS API

v2.0.0(1y ago)112MITPHPPHP &gt;=8.1

Since Apr 5Pushed 1y agoCompare

[ Source](https://github.com/ariyanshiputech/router-os)[ Packagist](https://packagist.org/packages/ariyanshipu/router-os)[ RSS](/packages/ariyanshipu-router-os/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

 ```
composer require ariyanshipu/router-os
```

#### Example: Default Connection

[](#example-default-connection)

```

    namespace App\Http\Controllers;
    use MikrotikAPI\Talker\Talker;
    use \MikrotikAPI\Entity\Auth;
    use MikrotikAPI\Commands\IP\Address;
    use MikrotikAPI\Util\DebugDumper;
class DemoController extends Controller
{
    public function index()
    {
        $auth = new Auth();
        $auth->setHost("10.20.32.1");
        $auth->setUsername("123");
        $auth->setPassword("123");
        //$auth->setPort("8080"); //if you are already change API Port on your Mikrotik OS please Uncomment $auth->setPort("8080") set your own port

        $auth->setDebug(true);

        $talker = new Talker($auth);
        //$filter = new FirewallFilter($talker);
        //$a = $filter->getAll();

        if($talker)
        {
            $ipaddr = new Address($talker);
            $listIP = $ipaddr->getAll();
            DebugDumper::dump($listIP);
        }

        return view('demo.index');

    }
}

```

#### Example: Default Output

[](#example-default-output)

```
```

Array
(
    [0] => Array
        (
            [.id] => *2
            [address] => 10.20.32.1/24
            [network] => 10.20.32.0
            [interface] => ether2
            [actual-interface] => ether2
            [invalid] => false
            [dynamic] => false
            [disabled] => false
            [comment] => hotspot network
        )
[1] => Array
    (
        [.id] => *7
        [address] => 10.18.18.1/30
        [network] => 10.18.18.0
        [interface] => ether5
        [actual-interface] => ether5
        [invalid] => false
        [dynamic] => false
        [disabled] => false
        [comment] => pc
    )

[2] => Array
    (
        [.id] => *8
        [address] => 192.168.1.1/24
        [network] => 192.168.1.0
        [interface] => ether1
        [actual-interface] => ether1
        [invalid] => false
        [dynamic] => false
        [disabled] => true
        [comment] => pc
    )

[3] => Array
    (
        [.id] => *C
        [address] => 192.168.12.1/24
        [network] => 192.168.12.0
        [interface] => ether1
        [actual-interface] => ether1
        [invalid] => false
        [dynamic] => false
        [disabled] => true
        [comment] => pc
    )

[4] => Array
    (
        [.id] => *E
        [address] => 10.80.15.2/30
        [network] => 10.80.15.0
        [interface] => ether1
        [actual-interface] => ether1
        [invalid] => false
        [dynamic] => false
        [disabled] => false
        [comment] => WAN
    )

```)

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance46

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity46

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

Unknown

Total

1

Last Release

401d ago

### Community

Maintainers

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

---

Top Contributors

[![ariyanshiputech](https://avatars.githubusercontent.com/u/181628538?v=4)](https://github.com/ariyanshiputech "ariyanshiputech (3 commits)")

---

Tags

apirouterosmikrotik

### Embed Badge

![Health badge](/badges/ariyanshipu-router-os/health.svg)

```
[![Health](https://phpackages.com/badges/ariyanshipu-router-os/health.svg)](https://phpackages.com/packages/ariyanshipu-router-os)
```

###  Alternatives

[pear2/net_routeros

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

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

Client API for RouterOS/Mikrotik

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

API Blueprint Renderer for Laravel

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

PHPackages © 2026

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