Download the PHP package jauhar/router-api without Composer

On this page you can find all versions of the php package jauhar/router-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package router-api

Mikrotik PHP API Package

Mikrotik API PHP License

๐Ÿš€ Introduction

The Mikrotik PHP API package provides a convenient and easy-to-use interface to communicate with your MikroTik RouterOS device using PHP. This package is designed to simplify the process of automating your Mikrotik router, including managing interfaces, configuring IPs, monitoring traffic, and more.

Whether you're building network monitoring tools or automating network configuration, this package helps you interact with MikroTik API programmatically.

โœจ Features

๐Ÿ› ๏ธ Installation

Install the package via Composer:

Alternatively, download the package and include the class manually.

๐Ÿš€ Quick Start

1. Establishing Connection

To begin, you'll need to establish a connection to your Mikrotik RouterOS device using the API.

2. Retrieving Interface Information By Parameter

Retrieve a list of all interfaces from the router with query parameter :

๐Ÿ“š API Reference

Methods Overview

Common Commands

Example Usage

๐Ÿ›ก๏ธ Security

Ensure that the Mikrotik API service is securely enabled and that your API connection is not exposed to public networks. It is recommended to use SSH or a VPN when working with the API.

๐Ÿงช Testing

You can test the API using a local development environment or any PHP web server. Make sure that you have:

๐Ÿค Contributing

Contributions are welcome! Please feel free to submit a pull request or open an issue for any bugs or features.

  1. Fork the repository.
  2. Create a new branch for your feature or fix.
  3. Submit a pull request and describe the changes.

๐Ÿ“„ License

This project is licensed under the MIT License. See the LICENSE file for details.


๐Ÿ’ก Need Help?

If you encounter any issues, feel free to reach out by creating an issue on the GitHub repository or by visiting Mikrotik Forums.


Made with โค๏ธ by Jauhar Imtikhan


Enjoy building your network automation tools with Mikrotik PHP API!



All versions of router-api with dependencies

PHP Build Version
Package Version
No informations.
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package jauhar/router-api contains the following files

Loading the files please wait ....