PHPackages                             seekerliu/laravel-ddns - 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. seekerliu/laravel-ddns

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

seekerliu/laravel-ddns
======================

A DDNS tool for Laravel.

5121PHP

Since Sep 29Pushed 8y ago1 watchersCompare

[ Source](https://github.com/seekerliu/laravel-ddns)[ Packagist](https://packagist.org/packages/seekerliu/laravel-ddns)[ RSS](/packages/seekerliu-laravel-ddns/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel DDns
============

[](#laravel-ddns)

A DDns tool for Laravel.
利用 DNSPod 的 API 实现 DDNS。

安装
--

[](#安装)

1. 安装扩展包：

```
composer require seekerliu/laravel-ddns:dev-master
```

2. 注册 DNSPod 账户，并获取 ID 及 TOKEN，方法请参考:
3. 你的服务器上需要需要开启 Laravel 调度计划： Linux:

```
$ crontab -e
//添加下列一行：
* * * * * /path-to-php/php /path-to-your-project/artisan schedule:run >> /dev/null 2>&1
```

MacOS 可以在 Terminal 中使用下面命令临时代替，`Ctrl + C` 可终止：

```
while true; do php artisan schedule:run; sleep 60; done
```

4. 默认每分钟同步一次

配置
--

[](#配置)

> Laravel 5.5 中有 `Package Discover` 功能，故无需进行第 1 步。如未起作用，可手动执行 `php artisan package:discover` 命令。

1. 在 `config/app.php` 中添加此行:

```
  'providers' => [
      //...

      Seekerliu\DynamicDns\ServiceProvider::class,
  ],
```

2. 将下面的内容放到你的 `.env` 文件中：

```
DDNS_DNSPOD_ID=
DDNS_DNSPOD_TOKEN=
DDNS_DOMAIN=
DDNS_SUB_DOMAIN=

DDNS_DNSPOD_UA="Laravel DDNS Client/0.0.1 (seekerliu@vip.qq.com)"
DDNS_DNSPOD_URI=https://dnsapi.cn/
DDNS_GET_IP_URI=https://seekerliu.com/getip.php
DDNS_ENABLE_LOG=true

```

3. 配置 `.env` 文件：

```
# 你的 DNSPOD ID，必填
DDNS_DNSPOD_ID=
# 你的 DNSPOD TOKEN，必填
DDNS_DNSPOD_TOKEN=
# 你在 DNSPOD 解析的根域名，例如: seekerliu.com，必填
DDNS_DOMAIN=
# 你在 DNSPOD 解析的二级域名，例如：blog，必填
DDNS_SUB_DOMAIN=

# 访问 DNSPOD API 需要的 UA，不用改
DDNS_DNSPOD_UA="Laravel DDNS Client/0.0.1 (seekerliu@vip.qq.com)"
# DNSPOD API URI，不用改
DDNS_DNSPOD_URI=https://dnsapi.cn/
# 获取 json 格式的公网 ip，可以换成自己的，源码在 getip.php 中
DDNS_GET_IP_URI=https://seekerliu.com/getip.php
# 是否开启日志
DDNS_ENABLE_LOG=true

```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/8a75a733b92b7487ba3cb6e4d629a9df143f2865afd262e00f017de8d006621e?d=identicon)[seekerliu](/maintainers/seekerliu)

---

Top Contributors

[![seekerliu](https://avatars.githubusercontent.com/u/8923281?v=4)](https://github.com/seekerliu "seekerliu (8 commits)")

### Embed Badge

![Health badge](/badges/seekerliu-laravel-ddns/health.svg)

```
[![Health](https://phpackages.com/badges/seekerliu-laravel-ddns/health.svg)](https://phpackages.com/packages/seekerliu-laravel-ddns)
```

###  Alternatives

[botman/tinker

BotMan tinker command for your Laravel BotMan project

102201.2k4](/packages/botman-tinker)[msa/laravel-grapes

laravel grapes is a cms drag and drop page builder

1853.1k](/packages/msa-laravel-grapes)[tizis/lara-comments

Comments system for your Laravel application. Features: can be used to comment on any model, HTML filter customization (HTMLPurifier), API, comment rating, replies, events, auth rules ...

1194.7k](/packages/tizis-lara-comments)[bircher/php-merge

A PHP merge utility using the Diff php library or the command line git.

3729.2k](/packages/bircher-php-merge)[degordian/yii2-webhooks

Yii2 extension for webhooks

117.1k](/packages/degordian-yii2-webhooks)

PHPackages © 2026

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