PHPackages                             davidbohn/holger - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. davidbohn/holger

ActiveLibrary[API Development](/categories/api)

davidbohn/holger
================

TR-064 API Client

0.8.1(6y ago)121055MITPHPPHP &gt;=7.1.8CI failing

Since Mar 8Pushed 6y ago3 watchersCompare

[ Source](https://github.com/dbohn/holger)[ Packagist](https://packagist.org/packages/davidbohn/holger)[ RSS](/packages/davidbohn-holger/feed)WikiDiscussions master Synced yesterday

READMEChangelog (8)Dependencies (3)Versions (11)Used By (0)

Holger Lib
==========

[](#holger-lib)

[![StyleCI](https://camo.githubusercontent.com/ef93f3b14bdeed92ff74eb2f45a73739cc623761b612466792ed3c532c95c0a9/68747470733a2f2f7374796c6563692e696f2f7265706f732f35333434323030382f736869656c64)](https://styleci.io/repos/53442008)

This library is a tool to interact with routers that support the TR-064 standard. It is mainly tested with a Fritz!Box 7360 by AVM.

Why?
----

[](#why)

Using SOAP APIs is a real pain. There are a lot of obscure URNs, strange XML description files and a lot of XML responses. Although PHP provides a quite good SOAPClient class, it is still nearly impossible to see the intent of the code.

This library aims to provide a friendly interface to the API.

Installation
------------

[](#installation)

The library can be installed via composer. Run the following command:

```
composer require davidbohn/holger

```

Usage
-----

[](#usage)

Instantiate the Holger\\Holger class by passing the host name and, if necessary, a username and password, that can be used to authenticated against the router interface. Then you can query the different endpoints like this:

```
