PHPackages                             tourze/ddns-contracts - 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. [PSR &amp; Standards](/categories/psr-standards)
4. /
5. tourze/ddns-contracts

ActiveLibrary[PSR &amp; Standards](/categories/psr-standards)

tourze/ddns-contracts
=====================

DDNS服务的接口定义和数据传输对象

0.0.3(6mo ago)02441MITPHPCI passing

Since May 13Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/tourze/ddns-contracts)[ Packagist](https://packagist.org/packages/tourze/ddns-contracts)[ RSS](/packages/tourze-ddns-contracts/feed)WikiDiscussions master Synced 1mo ago

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

DDNS Contracts
==============

[](#ddns-contracts)

[![PHP](https://camo.githubusercontent.com/7535257ca228724c93658bd52583d4e47a9bab02c356abf6e54c1d575f2151e6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e312532422d626c75652e737667)](https://php.net)[![License: MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](LICENSE)[![Build Status](https://github.com/tourze/php-monorepo/workflows/CI/badge.svg)](https://github.com/tourze/php-monorepo/actions)[![Coverage Status](https://camo.githubusercontent.com/597d3736c612eb152d4c13a37f4e87afd6af836788df1857d930b70903f9553d/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f746f75727a652f7068702d6d6f6e6f7265706f2f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/tourze/php-monorepo?branch=master)

[English](README.md) | [中文](README.zh-CN.md)

DDNS (Dynamic DNS) service contract definitions for PHP applications.

Features
--------

[](#features)

- **DNS Provider Interface**: Standardized interface for DNS service providers
- **IP Resolver Interface**: Interface for obtaining IP addresses that need resolution
- **Auto-configuration**: Symfony dependency injection support with auto-tagging
- **Type Safety**: Full PHP 8.1+ type declarations

Dependencies
------------

[](#dependencies)

- PHP 8.1 or higher
- Symfony Dependency Injection ^6.4

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

[](#installation)

```
composer require tourze/ddns-contracts
```

Quick Start
-----------

[](#quick-start)

This package provides contract interfaces for implementing DDNS (Dynamic DNS) services. It includes:

- `DNSProviderInterface`: Interface for DNS service providers
- `IPResolverInterface`: Interface for IP address resolvers
- `ExpectResolveResult`: Data object for expected resolution results

```
