Download the PHP package mathsgod/light-server without Composer
On this page you can find all versions of the php package mathsgod/light-server. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package light-server
Light Server
Installation
Usage
Configuration
create a folder pages
in the root of your project and create a file index.php
in it.
use Laminas\Diactoros\Response\TextResponse;
return new class() {
public function get()
{
return new TextResponse("Hello World");
}
public function post()
{
return new TextResponse("POST request received");
}
};
All versions of light-server with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.1
league/route Version ^6.0
laminas/laminas-diactoros Version ^3.5
laminas/laminas-httphandlerrunner Version ^2.11
laminas/laminas-stratigility Version ^4.1
league/route Version ^6.0
laminas/laminas-diactoros Version ^3.5
laminas/laminas-httphandlerrunner Version ^2.11
laminas/laminas-stratigility Version ^4.1
The package mathsgod/light-server contains the following files
Loading the files please wait ....