PHPackages                             bennetgallein/bind-php-wrapper - 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. bennetgallein/bind-php-wrapper

ActiveLibrary

bennetgallein/bind-php-wrapper
==============================

A Wrapper to bind the PythonAPI to PHP

v0.1(7y ago)043PHPPHP &gt;=7.2

Since Oct 2Pushed 7y ago1 watchersCompare

[ Source](https://github.com/bennetgallein/BIND-PHPWrapper)[ Packagist](https://packagist.org/packages/bennetgallein/bind-php-wrapper)[ RSS](/packages/bennetgallein-bind-php-wrapper/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (2)Versions (3)Used By (0)

BIND-PHPWrapper
===============

[](#bind-phpwrapper)

This a PHP Library to communincate with the [Python REST API](https://github.com/bennetgallein/BIND-PythonAPI) for BIND DNS-Server.

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

[](#installation)

`composer require bennetgallein/bind-php-wrapper`

Getting started
---------------

[](#getting-started)

This library requires the Python API to be setup up correctly and working. If that is the case, follow these Instructions:

### create new BIND Instance:

[](#create-new-bind-instance)

```
$bind = new BIND("192.168.1.104", 5000, false);
```

Parameters:

- IP (no default)
- Port (default: 5000)
- HTTPS (default: false) Important: Only use http if you are in a safe local enviorment. Otherwise a Reverse Proxy is the way to go!

### List all Records for a Zone:

[](#list-all-records-for-a-zone)

```
$a = $bind->getZone("gallein2.de");
```

This returns a new `Zone` Object:

```
$a->getDomain(); // returns the Domains name
$a->getRecords(); // returns an array of Record-Objects
```

The `Record` Object:

```
foreach ($a->getRecords() as $record) {
    echo $record->getName(); // The name, like '@', 'wwww', 'test', 'test2', ...
    echo $record->getAnswer(); // the response the DNS Server will give
    echo $record->getRecordType(); // the Record Type, like 'A', 'AAAA', 'MX', ...
    echo $record->getTTL(); // The TTL (Time To Live) of the Entry.
}
```

### Update/set a Record:

[](#updateset-a-record)

```
$res = $bind->addRecord("gallein2.de", "86400", "A", "192.168.1.1");
if ($res) {
    // yeah, success
} else {
    // no success
}
```

### Delete a Record:

[](#delete-a-record)

```
$res = bind->deleteRecord("gallein2.de", "86400", "A", "192.168.1.1");
if ($res) {
    // yeah, success
} else {
    // no success
}
```

Contributions and Issues are open
---------------------------------

[](#contributions-and-issues-are-open)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2776d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d1fe6824fa3ef29f0284a7dddd5233ee261e0e1e41a575e6d867e34428b70386?d=identicon)[BennetPHP](/maintainers/BennetPHP)

---

Top Contributors

[![bennetgallein](https://avatars.githubusercontent.com/u/15325891?v=4)](https://github.com/bennetgallein "bennetgallein (12 commits)")

### Embed Badge

![Health badge](/badges/bennetgallein-bind-php-wrapper/health.svg)

```
[![Health](https://phpackages.com/badges/bennetgallein-bind-php-wrapper/health.svg)](https://phpackages.com/packages/bennetgallein-bind-php-wrapper)
```

###  Alternatives

[netflie/whatsapp-cloud-api

The first PHP SDK to send and receive messages using a cloud-hosted version of the WhatsApp Business Platform

640431.7k4](/packages/netflie-whatsapp-cloud-api)[acquia/orca

A tool for testing a company's software packages together in the context of a realistic, functioning, best practices Drupal build

32902.4k](/packages/acquia-orca)[tomaj/hermes

Simple php background processing library

38251.0k5](/packages/tomaj-hermes)[tomaj/nette-api

Nette api

36261.8k4](/packages/tomaj-nette-api)[oxid-esales/graphql-base

OXID eSales GraphQL base module

24101.0k10](/packages/oxid-esales-graphql-base)[flowwow/cloudpayments-php-client

cloudpayments api client

2188.2k](/packages/flowwow-cloudpayments-php-client)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
