mirror of
https://github.com/YGGverse/hl-php.git
synced 2026-03-31 09:05:44 +00:00
initial release
This commit is contained in:
parent
f343894229
commit
c91e69fc73
4 changed files with 163 additions and 1 deletions
21
README.md
21
README.md
|
|
@ -1,2 +1,21 @@
|
|||
# hl-php
|
||||
PHP library for Half-Life API
|
||||
|
||||
PHP 8 library for Half-Life API with native IPv6 / Yggdrasil support
|
||||
|
||||
## Install
|
||||
|
||||
`composer require yggverse/hl`
|
||||
|
||||
## Usage
|
||||
|
||||
### Xash3d
|
||||
|
||||
#### Master
|
||||
|
||||
```
|
||||
$master = new Yggverse\Hl\Xash3d\Master('hl.ygg', 27010);
|
||||
|
||||
var_dump(
|
||||
$master->getServersIPv6()
|
||||
);
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue