evilfreelancer/routeros-api-php
A modern PHP client for the MikroTik RouterOS API. Connect to RouterOS 6 and 7 devices, run commands, and parse responses through a clean, framework-agnostic, object-oriented interface. Install via Composer and use it in Laravel or any PHP project.
Adopt when:
Look elsewhere when:
To executives: This is a small, free, actively maintained open-source component that lets our PHP platform manage MikroTik network equipment directly — provisioning, configuration, and monitoring — without licensing a commercial controller or building the low-level protocol ourselves. The latest release (1.7.0) is a stability update: it improves PHP 8.4 support, fixes timeouts, and resolves a parsing issue in nested scripts. It is low-risk, no new features, and reduces platform/compatibility risk. Main caveat: it is community-supported, so we should encapsulate it behind an internal adapter to limit lock-in.
To engineering: Treat it as a protocol client, not a framework. Wrap it in a service class with connection pooling/retry and typed DTOs; pin the version; add integration tests against a real or containerised RouterOS instance. 1.7.0 is a safe upgrade — verify nested-script response handling (issue #136) since behavior there changed, and confirm timeout semantics on PHP 8.4. No migration work expected; no breaking changes.
How can I help you explore Laravel packages today?