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

AbandonedArchivedLibrary[API Development](/categories/api)

jjsquady/mikrotikapi
====================

An Mikrotik Api Wrapper

0.1(7y ago)131.2k2[1 issues](https://github.com/jjsquady/mikrotikapi/issues)MITPHP

Since Jun 24Pushed 5y ago1 watchersCompare

[ Source](https://github.com/jjsquady/mikrotikapi)[ Packagist](https://packagist.org/packages/jjsquady/mikrotikapi)[ RSS](/packages/jjsquady-mikrotikapi/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (1)Dependencies (5)Versions (2)Used By (0)

Mikrotik Api for Laravel 8.x
============================

[](#mikrotik-api-for-laravel-8x)

WIP - Work In Progress

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

[](#instalation)

Via composer:

```
composer require jjsquady/mikrotikapi

```

Or manually insert this block into your composer.json in require section:

```
"require": {
    "jjsquady/mikrotikapi": "dev-master", //  jjsquady\MikrotikApi\Facades\MikrotikFacade::class

```

**Note:** for Laravel 5.4+ this package comes with Package Discovery enabled.

#### Publish the configuration file:

[](#publish-the-configuration-file)

```
php artisan vendor:publish --provider=jjsquady\MikrotikApi\MikrotikServiceProvider

```

Basic Usage:
------------

[](#basic-usage)

Set up the host and credentials into .env file:

```
   MK_API_HOST=
   MK_API_USER=
   MK_API_PASSWORD=
   MK_API_PORT=

```

```

// create a connection with Mikrotik Router

$conn = Mikrotik::connect()->getConnection();

if($conn->isConnected()) {
    // you have access to Commands
    // and can call from here...
}

```

Getting interfaces:
-------------------

[](#getting-interfaces)

```
$conn = Mikrotik::connect()->getConnection();

if($conn->isConnected()) {
    // Get all interfaces
    $interfaces = Interfaces::bind($conn)->get();

    // get() returns a Collection and you can use all methods available

    // you can send it to view
    return view("", [
        'interfaces' => $interfaces
    ]);
}

```

This project its a work in progress... and its in early developing phase. I really get thankful with ur contribution.

##### Created by jjsquady (Jorge Junior)

[](#created-by-jjsquady-jorge-junior)

##### (cc) 2017-2019

[](#cc-2017-2019)

##### License: MIT

[](#license-mit)

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity49

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

2563d ago

### Community

Maintainers

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

---

Top Contributors

[![jjcodes78](https://avatars.githubusercontent.com/u/12722517?v=4)](https://github.com/jjcodes78 "jjcodes78 (2 commits)")

---

Tags

apilaravelmikrotikrouteros

###  Code Quality

TestsPHPUnit

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/jjsquady-mikrotikapi/health.svg)](https://phpackages.com/packages/jjsquady-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)[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)[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)

PHPackages © 2026

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