PHPackages                             ppalacinp/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. ppalacinp/mikrotikapi

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ppalacinp/mikrotikapi
=====================

An Mikrotik Api Wrapper

0.2(5y ago)04MITPHPPHP ^7.4

Since Jun 24Pushed 5y agoCompare

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

READMEChangelog (1)Dependencies (5)Versions (3)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

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity50

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

Total

2

Last Release

2025d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3b292cb1539ee7f0e7b38e9ada2a3e87492895c36910ed4905dab1f931df954b?d=identicon)[ppalacinp](/maintainers/ppalacinp)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[ericmann/wp-session-manager

Prototype session management for WordPress.

27123.6k1](/packages/ericmann-wp-session-manager)[irazasyed/docgen

Streamline your Laravel package development with automatic facade documentation using Docgen for Laravel

233.8k10](/packages/irazasyed-docgen)

PHPackages © 2026

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