mirror of
https://github.com/danog/stun.git
synced 2024-11-26 20:14:44 +01:00
.vscode | ||
src | ||
.gitignore | ||
.php-cs-fixer.dist.php | ||
bind.php | ||
composer.json | ||
LICENSE | ||
psalm-baseline.xml | ||
psalm.xml | ||
README.md |
Stun - A pure PHP async STUN implementation
Created by Daniil Gentili (@danog).
This is a pure PHP async STUN implementation.
Usage:
composer require danog/stun
And then:
<?php
use danog\Stun\StunClient;
require 'vendor/autoload.php';
$stun = new StunClient("stun.l.google.com:19302");
var_dump($stun->bind());