PHPackages                             clue/ssdp-react - 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. clue/ssdp-react

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

clue/ssdp-react
===============

Async Simple Service Discovery Protocol (SSDP), built on top of ReactPHP.

206926[2 issues](https://github.com/clue/reactphp-ssdp/issues)[1 PRs](https://github.com/clue/reactphp-ssdp/pulls)2PHPCI passing

Since Aug 6Pushed 9mo ago6 watchersCompare

[ Source](https://github.com/clue/reactphp-ssdp)[ Packagist](https://packagist.org/packages/clue/ssdp-react)[ RSS](/packages/clue-ssdp-react/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (2)

clue/reactphp-ssdp
==================

[](#cluereactphp-ssdp)

[![CI status](https://github.com/clue/reactphp-ssdp/actions/workflows/ci.yml/badge.svg)](https://github.com/clue/reactphp-ssdp/actions)[![installs on Packagist](https://camo.githubusercontent.com/f965a934ee81eb52d6e4fecdd2b29a94801c95267c464bb62525b5bab332501c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636c75652f737364702d72656163743f636f6c6f723d626c7565266c6162656c3d696e7374616c6c732532306f6e2532305061636b6167697374)](https://packagist.org/packages/clue/ssdp-react)

Async [Simple Service Discovery Protocol (SSDP)](https://en.wikipedia.org/wiki/Simple_Service_Discovery_Protocol), built on top of [ReactPHP](https://reactphp.org/).

SSDP is part of [Universal Plug and Play (UPnP)](https://de.wikipedia.org/wiki/Universal_Plug_and_Play)and is commonly used to discover network services on home networks without requiring any manual configuration, such as automatically discovering printers, multimedia devices and network routers.

This library implements SSDP as defined in the [UPnP device architecture definition](http://upnp.org/specs/arch/UPnP-arch-DeviceArchitecture-v1.1.pdf) (PDF) and uses HTTP over Multicast UDP (HTTPMU) as defined in the [IETF draft](https://datatracker.ietf.org/doc/html/draft-goland-http-udp-01). As an alternative, some devices use DNS-Based Service Discovery (DNS-SD) instead as defined in [RFC 6763](https://tools.ietf.org/html/rfc6763).

**Table of Contents**

- [Quickstart example](#quickstart-example)
- [Install](#install)
- [Tests](#tests)
- [License](#license)

> Note: This project is in early alpha stage! Feel free to report any issues you encounter.

Quickstart example
------------------

[](#quickstart-example)

Once [installed](#install), you can use the following code to search all available UPnP devices in your network:

```
