https://github.com/evilfreelancer/craftcms-routeros-manager
WORK IN PROGRESS: A CraftCMS plugin for Mikrotik RouterOS devices management
https://github.com/evilfreelancer/craftcms-routeros-manager
Last synced: 7 months ago
JSON representation
WORK IN PROGRESS: A CraftCMS plugin for Mikrotik RouterOS devices management
- Host: GitHub
- URL: https://github.com/evilfreelancer/craftcms-routeros-manager
- Owner: EvilFreelancer
- License: mit
- Created: 2021-02-05T22:57:00.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-02-21T18:39:17.000Z (over 5 years ago)
- Last Synced: 2025-02-09T15:15:41.607Z (over 1 year ago)
- Language: PHP
- Homepage:
- Size: 87.9 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# CraftCMS Mikrotik RouterOS manager

A CraftCMS plugin for Mikrotik RouterOS devices management.
## Requirements
* PHP >= 7.2
* CraftCMS >= 3.4
## Installation
To install the plugin, follow these instructions.
1. Open your terminal and go to your Craft project:
```shell
cd /path/to/project
```
2. Then tell Composer to load the plugin:
```shell
composer require evilfreelancer/craftcms-routeros-manager
```
3. In the Control Panel, go to Settings → Plugins and click the “Install” button for CraftCMS RouterOS manager.
## Roadmap
### 1.0
- [x] Basic functionality
- Table migration
- id
- remote config (should be obtained after adding new device)
- traffic statistics from interfaces (no history, only current state)
- Soft deletes
- [ ] Page in admin panel
- Create new device
- IP-address
- Username/Password (hidden)
- Test connection
- Update device information
- Dump of config
- Upload config then apply
- [ ] Events
- Device added
- Device updated
- Device removed
- Device rebooted
- [ ] Actions
- Remove device
- Reboot device
- [ ] Tests
- Unit (and probably integration) tests via the Codeception
- Code quality (SonarCloud, Scrutinizer CI)
- [ ] Release in the Plugins Store
### 1.1
- [ ] Background tasks
- Check status of devices
- A configurable timeout between tasks
- Get traffic from ports
- Dump/upload configuration
### 1.2
- [ ] Commands execution shell with response
- Will need to create a parser from command to API call
### 1.3
- [ ] Widgets
- List of device with links to editor
- Status of devices UP/DOWN
- Execute command on a selected device
## Links
* https://github.com/EvilFreelancer/routeros-api-php - core library
* https://pluginfactory.io/ - build craft cms plugins