Download the PHP package beziworld/laravel-unifi without Composer

On this page you can find all versions of the php package beziworld/laravel-unifi. 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 laravel-unifi

Laravel UniFi

tests Latest Version

Laravel client for the UniFi Network application by Ubiquiti: sites, devices, connected clients, hotspot guest authorization, vouchers, networks, Wi-Fi broadcasts, events and alarms, for one or many controllers.

Polska wersja dokumentacji

Features

Why this package

Packagist (November 2026) lists art-of-wifi/unifi-api-client with about 449k downloads: a framework-agnostic, curl-based client for the classic API only, which keeps cookies in the PHP session and returns stdClass or false. Its official-API sibling art-of-wifi/unifi-network-application-api-client (Saloon based) and a few small clients exist, but there is no Laravel package. This package adds:

Installation

Several controllers (for example one per hotel) go into config/unifi.php:

Usage

Guest Wi-Fi vouchers for a hotel stay

Guest authorization (hotspot)

Sites, devices and statistics

Networks and Wi-Fi broadcasts

Filters and pagination

Classic API: events, alarms, blocking, WLAN passphrase

The classic API is not officially documented by Ubiquiti; endpoints follow the long-standing community documentation. Availability of stat/event depends on the Network version.

Controllers stored in the database

Anything else

Exceptions

All exceptions extend Beziworld\Unifi\Exceptions\UnifiException:

Exception When
AuthenticationException API key or login rejected (HTTP 401/403). Logins are never repeated automatically.
RateLimitException HTTP 429; retryAfter() returns the seconds from Retry-After
ApiException Error response or meta.rc = error; errorCode() (e.g. api.err.InvalidPayload), httpStatus(), requestId(), payload()
ConnectionFailed DNS, TCP, TLS or timeout error (after read retries)
SiteNotFound No site matches UNIFI_SITE
InvalidConfiguration Unknown connection, missing URL or credentials, missing API key for the official API

Notes

Development

Author

Created and maintained by Kamil Ćwiertnia, beziworld.eu.

Need an integration? Get in touch through beziworld.eu.

Other packages by the author

License

MIT. See LICENSE.md. This package is not affiliated with, endorsed by or sponsored by Ubiquiti Inc. UniFi is a trademark of Ubiquiti Inc.


All versions of laravel-unifi with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
ext-json Version *
guzzlehttp/guzzle Version ^7.8
illuminate/cache Version ^12.0|^13.0
illuminate/collections Version ^12.0|^13.0
illuminate/console Version ^12.0|^13.0
illuminate/contracts Version ^12.0|^13.0
illuminate/http Version ^12.0|^13.0
illuminate/support Version ^12.0|^13.0
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 beziworld/laravel-unifi contains the following files

Loading the files please wait ...