Go to file
2023-09-01 22:19:00 +02:00
.vscode Publish first version 2023-09-01 22:01:39 +02:00
src Improve 2023-09-01 22:19:00 +02:00
.gitignore Codestyle 2023-09-01 22:06:02 +02:00
.php-cs-fixer.dist.php Codestyle 2023-09-01 22:06:02 +02:00
bind.php Improve 2023-09-01 22:19:00 +02:00
composer.json Psalm improvements 2023-09-01 22:12:36 +02:00
LICENSE First commit 2023-09-01 21:35:25 +02:00
psalm-baseline.xml Psalm improvements 2023-09-01 22:12:36 +02:00
psalm.xml Psalm improvements 2023-09-01 22:12:36 +02:00
README.md Improve 2023-09-01 22:19:00 +02:00

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());