PHPackages                             xokaido/portaswitch - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. xokaido/portaswitch

ActiveLibrary[API Development](/categories/api)

xokaido/portaswitch
===================

The PortaSwitch API client in PHP according to their PortaSwitch\_Interfaces\_MR45.pdf document

020PHP

Since Mar 13Pushed 8y ago1 watchersCompare

[ Source](https://github.com/xokaido/portaswitch)[ Packagist](https://packagist.org/packages/xokaido/portaswitch)[ RSS](/packages/xokaido-portaswitch/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

The PortaSwitch API library in PHP
==================================

[](#the-portaswitch-api-library-in-php)

This is a PortaSwitch Client Library Based on their PortaSwitch\_Interfaces\_MR45.pdf document. The client library is not finished and only some parts are implemented but it's easy to add more as the software architecture makes it possible to quickly add new methods.

To deploy the application:
--------------------------

[](#to-deploy-the-application)

You need to create the .env file with

`API_BASE` = Base URL of the API
`API_USER` = The API user
`API_PASS` = The password for the API user

The file should look something like this:

`API_BASE` = ""
`API_USER` = 'test\_user'
`API_PASS` = 'test\_pass'

Please pay desired attention to have the `/rest/` API instead of SOAP.

Examples
--------

[](#examples)

For examples check the example.php file.

Thank you!

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6562281?v=4)[xokaido](/maintainers/xokaido)[@xokaido](https://github.com/xokaido)

---

Top Contributors

[![xokaido](https://avatars.githubusercontent.com/u/6562281?v=4)](https://github.com/xokaido "xokaido (11 commits)")

### Embed Badge

![Health badge](/badges/xokaido-portaswitch/health.svg)

```
[![Health](https://phpackages.com/badges/xokaido-portaswitch/health.svg)](https://phpackages.com/packages/xokaido-portaswitch)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
