stun/README.md

25 lines
375 B
Markdown
Raw Normal View History

2023-09-01 22:01:39 +02:00
# Stun - A pure PHP async STUN implementation
Created by Daniil Gentili ([@danog](https://github.com/danog)).
This is a pure PHP async STUN implementation.
Usage:
```bash
composer require danog/stun
2023-09-01 22:19:00 +02:00
```
And then:
```php
<?php
use danog\Stun\StunClient;
require 'vendor/autoload.php';
$stun = new StunClient("stun.l.google.com:19302");
var_dump($stun->bind());
```