Initial commit

This commit is contained in:
2024-03-10 03:06:19 +01:00
commit df18073bbf
16 changed files with 4590 additions and 0 deletions

13
bin/mercureactd Executable file
View File

@ -0,0 +1,13 @@
#!/usr/bin/env php
<?php
use NoccyLabs\Mercureact\Configuration;
use NoccyLabs\Mercureact\Daemon;
require_once __DIR__."/../vendor/autoload.php";
$config = Configuration::createDefault()
->setJwtSecret("!ChangeThisMercureHubJWTSecretKey!");
$daemon = new Daemon($config);
$daemon->start();