PHPackages                             hebbinkpro/pmmp-webserver - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. hebbinkpro/pmmp-webserver

ActiveLibrary[HTTP &amp; Networking](/categories/http)

hebbinkpro/pmmp-webserver
=========================

A HTTP/1.1 webserver Virion for PocketMine plugins

0.5.4(3mo ago)1717011MITPHPPHP ^8.2CI passing

Since Jul 9Pushed 3mo ago2 watchersCompare

[ Source](https://github.com/Hebbinkpro/pmmp-webserver)[ Packagist](https://packagist.org/packages/hebbinkpro/pmmp-webserver)[ RSS](/packages/hebbinkpro-pmmp-webserver/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (5)Versions (16)Used By (1)

PMMP WebServer
==============

[](#pmmp-webserver)

Warning

A major security vulnerability is present in all versions up to and including v0.5.3. This vulnerability allows an attacker to access files outside the directory configured for a static route. **Please update to v0.5.4 or later immediately.**

A verion for PocketMine-MP plugins to create a simple HTTP/1.1 web server.

What is new in version v0.5.0?
------------------------------

[](#what-is-new-in-version-v050)

- Rewrite of the HTTP Server/Client logic for better handling of sockets and HTTP requests

Plugins
-------

[](#plugins)

- This virion is used in my Dynmap like plugin, `PocketMap`. You can find the plugin [here](https://github.com/Hebbinkpro/PocketMap)

How to install
--------------

[](#how-to-install)

- Download the latest phar build from [Poggit CI](https://poggit.pmmp.io/ci/Hebbinkpro/pmmp-webserver)
- or install it directly using composer: `composer require hebbinkpro/pmmp-webserver`

How to use
----------

[](#how-to-use)

### Creating a web server

[](#creating-a-web-server)

For creating a web server, you have to register the WebServer and create a new instance of `WebServer` to start the server.

```
