PHPackages                             savvii/openprovider-zone-export - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. savvii/openprovider-zone-export

ActiveProject[Utility &amp; Helpers](/categories/utility)

savvii/openprovider-zone-export
===============================

Convert OpenProvider DNS records to Zone files

1.0.2(3y ago)316MITPHPPHP &gt;=8.0

Since Nov 10Pushed 2y ago4 watchersCompare

[ Source](https://github.com/Savvii/openprovider-zone-export)[ Packagist](https://packagist.org/packages/savvii/openprovider-zone-export)[ Docs](https://github.com/Savvii/openprovider-zone-export)[ RSS](/packages/savvii-openprovider-zone-export/feed)WikiDiscussions master Synced 1mo ago

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

Convert OpenProvider DNS records to Zone files
----------------------------------------------

[](#convert-openprovider-dns-records-to-zone-files)

The script `get_zones.php` calls the OpenProvider API to receive a list of all domains and their DNS records. These are written to `output/zones` as Bind zone files.

Requirements
============

[](#requirements)

- An [OpenProvider account](https://cp.openprovider.eu/dashboard/) with domains and DNS records in it.
- MacOS, FreeBSD or Linux
- [Composer 2.x](https://getcomposer.org/download/) installed
- Git
- PHP 8.0 or greater with the GMP and DOM extension enabled. Can be installed on MacOS using [HomeBrew](https://brew.sh/)

Install
=======

[](#install)

Clone project &amp; Composer Install
------------------------------------

[](#clone-project--composer-install)

```
git clone git@github.com:Savvii/openprovider-zone-export.git
cd openprovider-zone-export
composer install
cp config.php.example config.php

```

Update Configuration
--------------------

[](#update-configuration)

Edit `config.php`

- Configure `op_username` with your OpenProvider username.
- Configure `op_password` with your OpenProvider password.

Optional: Put a manual list of domains in `input/domainlist.txt`, each domain on a separate line.

Execute
=======

[](#execute)

Get zones from OpenProvider API
-------------------------------

[](#get-zones-from-openprovider-api)

```
./get_zones.php

```

The zone files will be written to `output/zones`. Custom nameservers will be written to `output/custom_nameservers.json`

Change nameservers in zone files
--------------------------------

[](#change-nameservers-in-zone-files)

```
./update_zones.php

```

Zone files in `output/zones` will be updated. Custom nameservers need to be specified in `config.php`.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity53

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

Every ~42 days

Total

3

Last Release

1191d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/74e812365e87e0f9460a2f9d24d9ff15a892d108730605fad8ef1853a3cb41b2?d=identicon)[jeroenvermeulen](/maintainers/jeroenvermeulen)

![](https://www.gravatar.com/avatar/61f14127cead5d870bd03544cd58fc77ea0c240dd5462226a3ad1ec3c316dfce?d=identicon)[joverthegrey](/maintainers/joverthegrey)

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

---

Top Contributors

[![joverthegrey](https://avatars.githubusercontent.com/u/8896551?v=4)](https://github.com/joverthegrey "joverthegrey (2 commits)")

### Embed Badge

![Health badge](/badges/savvii-openprovider-zone-export/health.svg)

```
[![Health](https://phpackages.com/badges/savvii-openprovider-zone-export/health.svg)](https://phpackages.com/packages/savvii-openprovider-zone-export)
```

###  Alternatives

[bizley/contenttools

ContentTools editor implementation for Yii 2.

8016.7k](/packages/bizley-contenttools)

PHPackages © 2026

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