stun/README.md
2023-09-01 22:19:00 +02:00

25 lines
375 B
Markdown

# 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
```
And then:
```php
<?php
use danog\Stun\StunClient;
require 'vendor/autoload.php';
$stun = new StunClient("stun.l.google.com:19302");
var_dump($stun->bind());
```