From a920ac868b0642973d9dda1a754cdf7a50166de1 Mon Sep 17 00:00:00 2001 From: yggverse Date: Fri, 26 Apr 2024 19:19:35 +0300 Subject: [PATCH] update readme --- README.md | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c11d077..6040919 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,24 @@ # next -PHP 8 Server for Nex Protocol + +PHP 8 Server for [Nex Protocol](nex://piclog.blue/nex/info/specification.txt) based on [nex-php](https://github.com/YGGverse/nex-php) library + +## Install + +* `git clone https://github.com/YGGverse/next.git` +* `cd next` +* `composer update` + +## Start + +``` bash +php src/nex.php\ + host=127.0.0.1\ + port=1900\ + path=/path/to/dir +``` + +### Arguments + +* `host` - optional string, `127.0.0.1` by default +* `port` - optional int, `1900` by default +* `path` - required string, destination files (public folder) \ No newline at end of file