{"id":20460588,"url":"https://github.com/fawno/softetherapi-php","last_synced_at":"2026-02-25T12:39:34.625Z","repository":{"id":64104596,"uuid":"141240802","full_name":"fawno/SoftEtherApi-PHP","owner":"fawno","description":"PHP API to remote control SoftEther VPN Server ","archived":false,"fork":false,"pushed_at":"2023-05-24T00:24:32.000Z","size":100,"stargazers_count":11,"open_issues_count":0,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-10T12:23:53.560Z","etag":null,"topics":["php","softether","vpn"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fawno.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-07-17T06:18:24.000Z","updated_at":"2024-06-13T01:08:04.000Z","dependencies_parsed_at":"2023-02-09T22:30:31.253Z","dependency_job_id":null,"html_url":"https://github.com/fawno/SoftEtherApi-PHP","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fawno%2FSoftEtherApi-PHP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fawno%2FSoftEtherApi-PHP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fawno%2FSoftEtherApi-PHP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fawno%2FSoftEtherApi-PHP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fawno","download_url":"https://codeload.github.com/fawno/SoftEtherApi-PHP/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224778475,"owners_count":17368317,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["php","softether","vpn"],"created_at":"2024-11-15T12:20:35.862Z","updated_at":"2026-01-11T16:49:22.290Z","avatar_url":"https://github.com/fawno.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![GitHub license](https://img.shields.io/github/license/fawno/SoftEtherApi-PHP)](https://github.com/fawno/SoftEtherApi-PHP/blob/master/LICENSE)\n[![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/fawno/SoftEtherApi-PHP)](https://github.com/fawno/SoftEtherApi-PHP/tags)\n[![Packagist](https://img.shields.io/packagist/v/fawno/softether-api)](https://packagist.org/packages/fawno/softether-api)\n[![Packagist Downloads](https://img.shields.io/packagist/dt/fawno/softether-api)](https://packagist.org/packages/fawno/softether-api/stats)\n[![GitHub issues](https://img.shields.io/github/issues/fawno/SoftEtherApi-PHP)](https://github.com/fawno/SoftEtherApi-PHP/issues)\n[![GitHub forks](https://img.shields.io/github/forks/fawno/SoftEtherApi-PHP)](https://github.com/fawno/SoftEtherApi-PHP/network)\n[![GitHub stars](https://img.shields.io/github/stars/fawno/SoftEtherApi-PHP)](https://github.com/fawno/SoftEtherApi-PHP/stargazers)\n\n# SoftEtherApi-PHP\nSoftEther VPN Api for PHP\n\nThere are still some issues as i only use the c# project activly but not this port. Just open a ticket.\n\nFor C# examples please see:\nhttps://github.com/connLAN/SoftEtherApi\n\n## Installation using Composer\n\nYou can install this plugin into your application using\n[composer](https://getcomposer.org):\n\n```\n  composer require fawno/softether-api:@stable\n```\n\n# How to translate the examples\nThe C# code\n\n```c#\nvar connectResult = softEther.Connect();\nvar authResult = softEther.Authenticate(pw);\n\nvar user = softEther.HubApi.CreateUser(\"testHub\", \"testUser\", \"userPw\");\nConsole.WriteLine(user.Valid() ? \"Success\" : user.Error.ToString());\n```\n\nThe corresponding PHP code\n\n```php\n$connectResult = $softEther-\u003eConnect();\n$authResult = $softEther-\u003eAuthenticate(pw);\n\n$user = $softEther-\u003eHubApi-\u003eCreateUser(\"testHub\", \"testUser\", \"userPw\");\necho $user-\u003eValid() ? \"Success\" : $user-\u003eError;\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffawno%2Fsoftetherapi-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffawno%2Fsoftetherapi-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffawno%2Fsoftetherapi-php/lists"}