Initial commit

This commit is contained in:
2025-07-12 16:45:24 +02:00
commit 69903c22fa
178 changed files with 27248 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
<?php
require __DIR__ . '/../vendor/autoload.php';
// Read files from .credentials
try {
$credentials = json_decode(file_get_contents(__DIR__ . '/.credentials'), true);
} catch (\Throwable $th) {
echo "Error reading credentials file: " . $th->getMessage();
exit;
}
// Create a new ListMonk instance
$listMonk = new \AdnanHussainTurki\ListMonk\ListMonk(
$credentials['serverUrl'],
$credentials['username'],
$credentials['password']
);
?>