PHPackages                             tourze/relay-service-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. tourze/relay-service-contracts

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

tourze/relay-service-contracts
==============================

Relay service contracts providing interfaces for frontend servers, landing providers, and landing servers

1.0.0(6mo ago)01411MITPHPCI passing

Since Jun 3Pushed 6mo agoCompare

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

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

relay-service-contracts
=======================

[](#relay-service-contracts)

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

[![Latest Version](https://camo.githubusercontent.com/b6cc18f8b8ffe62d511e25092a2aef5d2740c1e43c02cb1375d7d34abf344b81/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746f75727a652f72656c61792d736572766963652d636f6e7472616374732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tourze/relay-service-contracts)[![Build Status](https://camo.githubusercontent.com/429b13f9a125c0a69c617b97ee9b5368e54039c2e273482cb5d74f28dff3c20d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f746f75727a652f72656c61792d736572766963652d636f6e7472616374732f74657374732e796d6c3f6272616e63683d6d6173746572267374796c653d666c61742d737175617265)](https://github.com/tourze/relay-service-contracts/actions)[![Quality Score](https://camo.githubusercontent.com/57bb0af5488c75b38e545616877fdf4abfd059cb40b3f368e56c296cef3cf2fb/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f746f75727a652f72656c61792d736572766963652d636f6e7472616374732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/tourze/relay-service-contracts)[![Total Downloads](https://camo.githubusercontent.com/2b39c5b5a58564c42233f480e095fc7eff44a4a67b73b63724a2291a2a9e5d35/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746f75727a652f72656c61792d736572766963652d636f6e7472616374732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tourze/relay-service-contracts)

A collection of interfaces for relay service implementations, providing contracts for frontend servers, landing providers, and landing servers.

Features
--------

[](#features)

- **Standardized Contracts**: Well-defined interfaces for relay service architecture
- **Frontend Server Management**: Interface for handling client connections and server binding
- **Landing Provider System**: Contract for managing landing servers and connection parameters
- **Landing Server Abstraction**: Interface for actual relay connection handling
- **Geographic Location Support**: Integration with country codes and server nodes
- **User Authentication**: Integration with Symfony Security UserInterface
- **Type Safety**: Full PHP 8.1+ type declarations and PHPStan level 5 compliance

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

[](#installation)

```
composer require tourze/relay-service-contracts
```

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

[](#quick-start)

```
