Community discussions

MikroTik App
 
Xgraver
just joined
Topic Author
Posts: 12
Joined: Fri Mar 24, 2017 3:49 pm

PHP Api

Thu Apr 14, 2022 10:28 am

Hello

I searched for PHP Api but found only results from like 2015, is there any up to date php apis out there aswell?

Egert
 
Sob
Forum Guru
Forum Guru
Posts: 9119
Joined: Mon Apr 20, 2009 9:11 pm

Re: PHP Api

Fri Apr 15, 2022 12:30 am

If it works, there's no need to change it. I use this one:

https://github.com/BenMenking/routeros-api/

and it works, so everything is great.
 
Xgraver
just joined
Topic Author
Posts: 12
Joined: Fri Mar 24, 2017 3:49 pm

Re: PHP Api

Fri Apr 15, 2022 9:15 am

I am currently testing it aswell. Does it work with v7 and with older versions? Or does it have some version specific limitations?

Have you managed to update router version with auto file upload using php api?
 
Sob
Forum Guru
Forum Guru
Posts: 9119
Joined: Mon Apr 20, 2009 9:11 pm

Re: PHP Api

Fri Apr 15, 2022 6:03 pm

I don't use it that much, only for few simple things (enable/disable firewall rules, get info about wireless). I never tried anything with updates. But I can confirm that it works with all versions (very old v6, current v6, current v7).
 
User avatar
atari
just joined
Posts: 10
Joined: Sat Mar 16, 2013 7:15 pm
Location: Paracin
Contact:

Re: PHP Api

Sat Jul 01, 2023 3:57 pm

Trying to send sms on routeros v7.10 whit php api but seems command dont send whit:
/tool/sms/send port=usb5 phone-number=....
any tip how to make it work

Who is online

Users browsing this forum: Luanscps and 8 guests