This PHP API client, released in February 2026, provides access to Ubiquiti's official UniFi Network Application API — the API that Ubiquiti themselves maintain, document, and support. The documentation is built directly into your controller under Settings → Integrations or, on the latest versions, directly under Integrations.
Built on Saloon v3 and requiring PHP 8.1 or higher, it offers a clean, fluent interface with method chaining, strong typing throughout, and comprehensive PHPDoc annotations for IDE auto-completion. Authentication uses an API key generated from within the Network Application — no username/password or session management required.
The client covers all major management areas: sites, devices, connected clients, networks, WiFi broadcasts, hotspot vouchers, firewall zones and policies, ACL rules, DNS policies, and a range of supporting resources. Most list endpoints include type-safe filter builder classes, giving you IDE autocomplete and catching filter errors at development time rather than runtime.
The client can be installed via Composer:
composer require art-of-wifi/unifi-network-application-api-client
It is available under the MIT license and can be found here on GitHub:
https://github.com/Art-of-WiFi/unifi-network-application-api-client
or through Packagist here:
https://packagist.org/packages/art-of-wifi/unifi-network-application-api-client
If the endpoints you need are covered by the official API, this is the recommended choice. It targets a stable, officially supported API surface and uses the more secure API key authentication model.
If you need endpoints not yet available in the official API, our legacy UniFi Controller API client currently offers broader coverage and remains actively maintained. The two clients complement each other — the official API continues to expand and we expect the coverage gap to narrow over time.
Technical questions are best submitted through the Issues section of the GitHub repository.
Copyright © 2025 Art of WiFi B.V.