Skip to content

PHP API to remote control SoftEther VPN Server

License

Notifications You must be signed in to change notification settings

ipcun/SoftEtherApi-PHP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SoftEtherApi-PHP

SoftEther VPN Api for PHP

There are still some issues as i only use the c# project activly but not this port. Just open a ticket.

For examples please see: https://github.com/hoppler/SoftEtherApi

How to translate the examples

The C# code

var connectResult = softEther.Connect();
var authResult = softEther.Authenticate(pw);

var user = softEther.HubApi.CreateUser("testHub", "testUser", "userPw");
Console.WriteLine(user.Valid() ? "Success" : user.Error.ToString());

The corresponding PHP code

$connectResult = $softEther->Connect();
$authResult = $softEther->Authenticate(pw);

$user = $softEther->HubApi->CreateUser("testHub", "testUser", "userPw");
echo $user->Valid() ? "Success" : $user->Error;

About

PHP API to remote control SoftEther VPN Server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages