UniFi-API-client VS macro

Compare UniFi-API-client vs macro and see what are their differences.

UniFi-API-client

A PHP API client class to interact with Ubiquiti's UniFi Controller API (by Art-of-WiFi)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
UniFi-API-client macro
18 2
1,057 1,024
1.5% -
7.1 4.2
about 2 months ago 5 months ago
PHP PHP
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

UniFi-API-client

Posts with mentions or reviews of UniFi-API-client. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-10.
  • Created a docker app to notify on new device connections
    4 projects | /r/UNIFI | 10 Dec 2023
    UniFiClientAlerts is a Dockerized application that monitors UniFi networks for new device connections and sends alerts via Telegram. It leverages PHP code from the Art-of-WiFi/UniFi-API-client for interfacing with UniFi Controllers.
  • Automatically rebooting a G3 Pro camera
    1 project | /r/Ubiquiti | 6 Dec 2023
    Take a look at the API Client here, https://github.com/Art-of-WiFi/UniFi-API-client. You can use the client to create a cron job or scheduled task to run a script to cycle the port.
  • Documenting Unifi Wireless Network Passwords
    1 project | /r/msp | 13 Sep 2022
  • Connecting to UDM SE API ?!?!
    1 project | /r/Ubiquiti | 5 Aug 2022
    I'm using a UDM SE (runs Unifi OS) and have cloud management up and running via a fixed external IP, and an external captive portal using port 443. SSL certificate installed and up to date. I'm trying to connect to using the API as 'documented' at https://ubntwiki.com/products/software/unifi-controller/api. I haven't been a dev for a long, long time, and although I think I could probably mug my way through using the stuff at https://github.com/Art-of-WiFi/UniFi-API-client, I'm first trying simply to connect to the API using curl. I'm falling at the first hurdle: I just can't connect to the API at all.
  • Executing a power-cycle command for a POE port
    1 project | /r/Ubiquiti | 8 Jul 2022
  • UDMP SSH Commands for Traffic Management
    2 projects | /r/UNIFI | 21 Jun 2022
  • Wifi captive portal login using G Suite (nonprofit) oauth
    1 project | /r/Ubiquiti | 25 Apr 2022
    Personally, I have scraped together a custom portal before using the PHP API client - https://github.com/Art-of-WiFi/UniFi-API-client - UniFi passes the MAC address of the device as a GET parameter called 'id'
  • Showcase: Ubiquiti UniFi MagicDash and Asset oneway sync
    1 project | /r/hudu | 18 Apr 2022
    We try to avoid external classes and dependencies to reduce the potential for trouble. Especially with something rather simple like a REST API. But based on the UniFi API situation, we decided to make an exception and go with the fantastic UniFi-API-client class for PHP by Art-of-WiFi that can be found over on Github https://github.com/Art-of-WiFi/UniFi-API-client. It’s actively maintained and offers the benefit of people reporting broken stuff so it’s a community thing to make the UniFi API usable even if Ubiquiti decides to change or remove stuff.
  • Management of Ubiquiti Flex XG
    1 project | /r/Ubiquiti | 14 Apr 2022
    There is a well-documented and maintained (though unofficial) PHP API for managing/talking to the controller. We use it for automating mundane tasks like loading lots of Mac-to-vlan bindings. It is quite feature complete. https://github.com/Art-of-WiFi/UniFi-API-client
  • Is there any API access to Unifi Controller or AP's?
    1 project | /r/Ubiquiti | 29 Mar 2022
    PHP API library: https://github.com/Art-of-WiFi/UniFi-API-client

macro

Posts with mentions or reviews of macro. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-12-08.
  • PHP Macro - Dynamically extend PHP objects
    3 projects | /r/PHP | 8 Dec 2021
    If you have a look at the PHP Marcoable trait, you can see that there's no magic involved. Basically, only the __call() method is used to catch unknown method calls and see if there's a registered macro with that name.

What are some alternatives?

When comparing UniFi-API-client and macro you can also consider the following projects:

UniFi-API-browser - Tool to browse data exposed by Ubiquiti's UniFi Controller API

alma - ALgoloid with MAcros -- a language with Algol-family syntax where macros take center stage

UBNT-EdgeRouter-Example-Configs - Example config.boot files for UBNT EdgeRouters with Google, Comcast, and Charter

laravel-database-mail-templates - Render Laravel mailables based on a mail template stored in the database

Postman-for-AlwaysOn-Cisco-SD-WAN - Postman for AlwaysOn Cisco SD-WAN

serializable-closure - Laravel Serializable Closure provides an easy and secure way to serialize closures in PHP.

php-azure-face-api-client - PHP client for Microsoft Azure Face API.

macroable - A trait to dynamically add methods to a class

erste-bank-client-php - Client written in PHP for Erste Bank API

PHP-MVC-REST-API - A simple PHP MVC REST API framework with PHP 7.2 With routes and some tools to develop your API.

smudge - Control the Spotify app from within Emacs.

client - ⚡️ OpenAI PHP is a supercharged community-maintained PHP API client that allows you to interact with OpenAI API.