Initial commit

This commit is contained in:
2025-03-10 16:43:56 +01:00
commit 3b929684f9
3 changed files with 40 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
/vendor/
/composer.lock

23
composer.json Normal file
View File

@ -0,0 +1,23 @@
{
"name": "slotdb/client",
"description": "SlotDB PHP Client",
"type": "library",
"license": "GPL-2.0-or-later",
"autoload": {
"psr-4": {
"SlotDb\\Client\\": "src/"
}
},
"authors": [
{
"name": "Christopher Vagnetoft",
"email": "labs@noccy.com"
}
],
"require": {
"psr/http-client": "^1.0"
},
"require-dev": {
"guzzlehttp/guzzle": "^7.9"
}
}

15
src/SlotDbClient.php Normal file
View File

@ -0,0 +1,15 @@
<?php
namespace SlotDb\Client;
use Psr\Http\Client\ClientInterface;
class SlotDbClient
{
public function __construct(
private readonly ClientInterface $client
)
{
}
}