repo stringlengths 7 63 | file_url stringlengths 81 284 | file_path stringlengths 5 200 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:02:33 2026-01-05 05:24:06 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/HttpServer/src/ReloadStrategy/EachRequestReloadStrategy.php | src/HttpServer/src/ReloadStrategy/EachRequestReloadStrategy.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Plugin\HttpServer\ReloadStrategy;
use Amp\Http\Server\Request;
use PHPStreamServer\Core\ReloadStrategy\ReloadStrategy;
/**
* Reload the worker after each request.
*/
final class EachRequestReloadStrategy implements ReloadStrategy
{
public function shoul... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/HttpServer/src/ReloadStrategy/MaxRequestsReloadStrategy.php | src/HttpServer/src/ReloadStrategy/MaxRequestsReloadStrategy.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Plugin\HttpServer\ReloadStrategy;
use Amp\Http\Server\Request;
use PHPStreamServer\Core\ReloadStrategy\ReloadStrategy;
/**
* Reload worker on every $maxRequests requests.
* To prevent all workers from restarting at the same time, you can set a $dispersionPe... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/FileMonitor/src/WatchDir.php | src/FileMonitor/src/WatchDir.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Plugin\FileMonitor;
final readonly class WatchDir
{
public function __construct(
public string $sourceDir,
public array $filePattern = ['*'],
public bool $recursive = false,
public bool $invalidateOpcache = false,
) {
... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/FileMonitor/src/FileMonitorPlugin.php | src/FileMonitor/src/FileMonitorPlugin.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Plugin\FileMonitor;
use PHPStreamServer\Core\Message\ReloadServerCommand;
use PHPStreamServer\Core\MessageBus\MessageBusInterface;
use PHPStreamServer\Core\Plugin\Plugin;
use PHPStreamServer\Plugin\FileMonitor\Internal\InotifyMonitorWatcher;
final class FileM... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/FileMonitor/src/Internal/InotifyMonitorWatcher.php | src/FileMonitor/src/Internal/InotifyMonitorWatcher.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Plugin\FileMonitor\Internal;
use Revolt\EventLoop;
/**
* @internal
*/
final class InotifyMonitorWatcher
{
private const REBOOT_DELAY = 0.3;
/** @var resource */
private mixed $fd;
/** @var array<int, string> */
private array $pathByWd =... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Process.php | src/Core/src/Process.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core;
use PHPStreamServer\Core\Logger\LoggerInterface;
use PHPStreamServer\Core\MessageBus\MessageBusInterface;
use PHPStreamServer\Core\Plugin\Plugin;
interface Process
{
/**
* @internal
*/
public function run(ContainerInterface $workerCont... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/ContainerInterface.php | src/Core/src/ContainerInterface.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core;
use PHPStreamServer\Core\Exception\ParameterNotFoundException;
use PHPStreamServer\Core\Exception\ServiceNotFoundException;
use Psr\Container\ContainerInterface as PsrContainerInterface;
interface ContainerInterface extends PsrContainerInterface
{
/... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/functions.php | src/Core/src/functions.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core;
use Revolt\EventLoop\DriverFactory;
function getStartFile(): string
{
static $file;
if (!isset($file)) {
/** @var array<array{file: string}> $backtrace */
$backtrace = \debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS);
$file ... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Server.php | src/Core/src/Server.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core;
use Composer\InstalledVersions;
use PHPStreamServer\Core\Internal\Console\App;
use PHPStreamServer\Core\Plugin\Plugin;
use PHPStreamServer\Core\Plugin\Supervisor\SupervisorPlugin;
use PHPStreamServer\Core\Plugin\System\SystemPlugin;
final class Server
{... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/MessageBus/GracefulMessageBusInterface.php | src/Core/src/MessageBus/GracefulMessageBusInterface.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\MessageBus;
use Amp\Future;
interface GracefulMessageBusInterface extends MessageBusInterface
{
public function stop(): Future;
}
| php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/MessageBus/MessageInterface.php | src/Core/src/MessageBus/MessageInterface.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\MessageBus;
/**
* Message object that can be sent to the master process via the message bus
*
* @template T
*/
interface MessageInterface
{
}
| php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/MessageBus/SocketFileMessageHandler.php | src/Core/src/MessageBus/SocketFileMessageHandler.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\MessageBus;
use Amp\ByteStream\StreamException;
use Amp\Future;
use Amp\Socket\ResourceServerSocket;
use Amp\Socket\ResourceServerSocketFactory;
use Amp\Socket\UnixAddress;
use PHPStreamServer\Core\Message\CompositeMessage;
use Revolt\EventLoop;
use func... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/MessageBus/ExternalProcessMessageBus.php | src/Core/src/MessageBus/ExternalProcessMessageBus.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\MessageBus;
use Amp\Future;
use PHPStreamServer\Core\Exception\ServerIsNotRunning;
use function PHPStreamServer\Core\isRunning;
final class ExternalProcessMessageBus implements MessageBusInterface
{
private MessageBusInterface|null $bus = null;
... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/MessageBus/MessageBusInterface.php | src/Core/src/MessageBus/MessageBusInterface.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\MessageBus;
use Amp\Future;
interface MessageBusInterface
{
/**
* @template T
* @param MessageInterface<T> $message
* @return Future<T>
*/
public function dispatch(MessageInterface $message): Future;
}
| php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/MessageBus/MessageHandlerInterface.php | src/Core/src/MessageBus/MessageHandlerInterface.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\MessageBus;
interface MessageHandlerInterface
{
/**
* @template T of MessageInterface
* @param class-string<T> $class
* @param \Closure(T): mixed $closure
*/
public function subscribe(string $class, \Closure $closure): void;
... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/MessageBus/SocketFileMessageBus.php | src/Core/src/MessageBus/SocketFileMessageBus.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\MessageBus;
use Amp\DeferredFuture;
use Amp\Future;
use Amp\Socket\ConnectException;
use Amp\Socket\DnsSocketConnector;
use Amp\Socket\SocketConnector;
use Amp\Socket\StaticSocketConnector;
use Amp\Socket\UnixAddress;
use Revolt\EventLoop;
use function A... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Logger/ContextNormalizer.php | src/Core/src/Logger/ContextNormalizer.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Logger;
/**
* @internal
*/
final class ContextNormalizer
{
public function __construct()
{
}
public function normalize(mixed $data): mixed
{
if (\is_array($data)) {
foreach ($data as $key => $value) {
... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Logger/ConsoleLogger.php | src/Core/src/Logger/ConsoleLogger.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Logger;
use PHPStreamServer\Core\Internal\Console\StdoutHandler;
use Psr\Log\LoggerTrait;
/**
* @internal
*/
final class ConsoleLogger implements LoggerInterface
{
use LoggerTrait;
public const DEFAULT_JSON_FLAGS = JSON_UNESCAPED_SLASHES
... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Logger/NullLogger.php | src/Core/src/Logger/NullLogger.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Logger;
use Psr\Log\LoggerTrait;
final class NullLogger implements LoggerInterface
{
use LoggerTrait;
public function withChannel(string $channel): LoggerInterface
{
return $this;
}
public function log($level, \Stringable|st... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Logger/LoggerInterface.php | src/Core/src/Logger/LoggerInterface.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Logger;
use Psr\Log\LoggerInterface as PsrLoggerInterface;
interface LoggerInterface extends PsrLoggerInterface
{
public function withChannel(string $channel): self;
}
| php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Plugin/Plugin.php | src/Core/src/Plugin/Plugin.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Plugin;
use Amp\Future;
use PHPStreamServer\Core\Console\Command;
use PHPStreamServer\Core\ContainerInterface;
use PHPStreamServer\Core\Internal\Status;
use PHPStreamServer\Core\Process;
abstract class Plugin
{
protected readonly ContainerInterface $... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Plugin/Supervisor/SupervisorPlugin.php | src/Core/src/Plugin/Supervisor/SupervisorPlugin.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Plugin\Supervisor;
use Amp\Future;
use PHPStreamServer\Core\Command\ProcessesCommand;
use PHPStreamServer\Core\Exception\ServiceNotFoundException;
use PHPStreamServer\Core\Logger\LoggerInterface;
use PHPStreamServer\Core\Message\GetSupervisorStatusCommand... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Plugin/Supervisor/Internal/WorkerPool.php | src/Core/src/Plugin/Supervisor/Internal/WorkerPool.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Plugin\Supervisor\Internal;
use PHPStreamServer\Core\Exception\PHPStreamServerException;
use PHPStreamServer\Core\Worker\WorkerProcess;
use Revolt\EventLoop;
/**
* @internal
*/
final class WorkerPool
{
private const BLOCKED_LABEL_PERSISTENCE = 30;
... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Plugin/Supervisor/Internal/ProcessStatus.php | src/Core/src/Plugin/Supervisor/Internal/ProcessStatus.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Plugin\Supervisor\Internal;
/**
* @internal
*/
final class ProcessStatus
{
public int $pid;
public int $time;
public bool $detached = false;
public bool $blocked = false;
public bool $reloadable = true;
public function __constru... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Plugin/Supervisor/Internal/Supervisor.php | src/Core/src/Plugin/Supervisor/Internal/Supervisor.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Plugin\Supervisor\Internal;
use Amp\DeferredFuture;
use Amp\Future;
use PHPStreamServer\Core\Exception\PHPStreamServerException;
use PHPStreamServer\Core\Internal\SIGCHLDHandler;
use PHPStreamServer\Core\Internal\Status;
use PHPStreamServer\Core\Message\P... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Plugin/Supervisor/Internal/ReloadStrategyStack.php | src/Core/src/Plugin/Supervisor/Internal/ReloadStrategyStack.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Plugin\Supervisor\Internal;
use PHPStreamServer\Core\ReloadStrategy\ReloadStrategy;
use PHPStreamServer\Core\ReloadStrategy\TimerReloadStrategy;
use Revolt\EventLoop;
/**
* @internal
*/
final class ReloadStrategyStack
{
/** @var list<ReloadStrategy... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Plugin/Supervisor/Internal/MetricsHandler.php | src/Core/src/Plugin/Supervisor/Internal/MetricsHandler.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Plugin\Supervisor\Internal;
use PHPStreamServer\Core\Message\ProcessExitEvent;
use PHPStreamServer\Core\MessageBus\MessageHandlerInterface;
use PHPStreamServer\Core\Plugin\Supervisor\Status\SupervisorStatus;
use PHPStreamServer\Core\Server;
use PHPStreamS... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Plugin/Supervisor/Status/ProcessInfo.php | src/Core/src/Plugin/Supervisor/Status/ProcessInfo.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Plugin\Supervisor\Status;
final class ProcessInfo
{
public function __construct(
public int $workerId,
public int $pid,
public string $user,
public string $name,
public \DateTimeImmutable $startedAt,
pub... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Plugin/Supervisor/Status/WorkerInfo.php | src/Core/src/Plugin/Supervisor/Status/WorkerInfo.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Plugin\Supervisor\Status;
final readonly class WorkerInfo
{
public function __construct(
public int $id,
public string $user,
public string $name,
public int $count,
public bool $reloadable,
) {
}
}
| php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Plugin/Supervisor/Status/SupervisorStatus.php | src/Core/src/Plugin/Supervisor/Status/SupervisorStatus.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Plugin\Supervisor\Status;
use PHPStreamServer\Core\Message\ProcessBlockedEvent;
use PHPStreamServer\Core\Message\ProcessDetachedEvent;
use PHPStreamServer\Core\Message\ProcessExitEvent;
use PHPStreamServer\Core\Message\ProcessHeartbeatEvent;
use PHPStream... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Plugin/System/SystemPlugin.php | src/Core/src/Plugin/System/SystemPlugin.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Plugin\System;
use PHPStreamServer\Core\Command\ConnectionsCommand;
use PHPStreamServer\Core\Command\ReloadCommand;
use PHPStreamServer\Core\Command\StartCommand;
use PHPStreamServer\Core\Command\StatusCommand;
use PHPStreamServer\Core\Command\StopCommand... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Plugin/System/Status/ServerStatus.php | src/Core/src/Plugin/System/Status/ServerStatus.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Plugin\System\Status;
use function PHPStreamServer\Core\getDriverName;
use function PHPStreamServer\Core\getStartFile;
final readonly class ServerStatus
{
public string $eventLoop;
public string $startFile;
public \DateTimeImmutable $startedA... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Plugin/System/Connections/Connection.php | src/Core/src/Plugin/System/Connections/Connection.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Plugin\System\Connections;
final class Connection
{
public function __construct(
public readonly int $pid,
public readonly \DateTimeImmutable $connectedAt,
public readonly string $localIp,
public readonly string $localP... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Plugin/System/Connections/ConnectionsStatus.php | src/Core/src/Plugin/System/Connections/ConnectionsStatus.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Plugin\System\Connections;
use PHPStreamServer\Core\Message\ConnectionClosedEvent;
use PHPStreamServer\Core\Message\ConnectionCreatedEvent;
use PHPStreamServer\Core\Message\ProcessDetachedEvent;
use PHPStreamServer\Core\Message\ProcessSpawnedEvent;
use PH... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Plugin/System/Connections/NetworkTrafficCounter.php | src/Core/src/Plugin/System/Connections/NetworkTrafficCounter.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Plugin\System\Connections;
use Amp\Socket\InternetAddress;
use Amp\Socket\Socket;
use PHPStreamServer\Core\Message\CompositeMessage;
use PHPStreamServer\Core\Message\ConnectionClosedEvent;
use PHPStreamServer\Core\Message\ConnectionCreatedEvent;
use PHPSt... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Plugin/System/Connections/ProcessConnectionsInfo.php | src/Core/src/Plugin/System/Connections/ProcessConnectionsInfo.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Plugin\System\Connections;
final class ProcessConnectionsInfo
{
/**
* @param array<int, Connection> $connections
*/
public function __construct(
public readonly int $pid,
public int $requests = 0,
public int $rx =... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Worker/WorkerProcess.php | src/Core/src/Worker/WorkerProcess.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Worker;
use Amp\DeferredFuture;
use PHPStreamServer\Core\ContainerInterface;
use PHPStreamServer\Core\Exception\UserChangeException;
use PHPStreamServer\Core\Internal\ErrorHandler;
use PHPStreamServer\Core\Internal\ProcessUserChange;
use PHPStreamServer\C... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Worker/ExternalProcess.php | src/Core/src/Worker/ExternalProcess.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Worker;
use PHPStreamServer\Core\Message\ProcessDetachedEvent;
use function PHPStreamServer\Core\getAbsoluteBinaryPath;
class ExternalProcess extends WorkerProcess
{
public function __construct(
string $name = '',
int $count = 1,
... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Message/GetConnectionsStatusCommand.php | src/Core/src/Message/GetConnectionsStatusCommand.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Message;
use PHPStreamServer\Core\MessageBus\MessageInterface;
use PHPStreamServer\Core\Plugin\System\Connections\ConnectionsStatus;
/**
* @implements MessageInterface<ConnectionsStatus>
*/
final class GetConnectionsStatusCommand implements MessageInte... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Message/ProcessDetachedEvent.php | src/Core/src/Message/ProcessDetachedEvent.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Message;
use PHPStreamServer\Core\MessageBus\MessageInterface;
/**
* @implements MessageInterface<null>
*/
final readonly class ProcessDetachedEvent implements MessageInterface
{
public function __construct(
public int $pid,
) {
}
}... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Message/RxCounterIncreaseEvent.php | src/Core/src/Message/RxCounterIncreaseEvent.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Message;
use PHPStreamServer\Core\MessageBus\MessageInterface;
/**
* @implements MessageInterface<null>
*/
final readonly class RxCounterIncreaseEvent implements MessageInterface
{
public function __construct(
public int $pid,
publi... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Message/ConnectionCreatedEvent.php | src/Core/src/Message/ConnectionCreatedEvent.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Message;
use PHPStreamServer\Core\MessageBus\MessageInterface;
use PHPStreamServer\Core\Plugin\System\Connections\Connection;
/**
* @implements MessageInterface<null>
*/
final readonly class ConnectionCreatedEvent implements MessageInterface
{
publ... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Message/StopServerCommand.php | src/Core/src/Message/StopServerCommand.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Message;
use PHPStreamServer\Core\MessageBus\MessageInterface;
/**
* @implements MessageInterface<null>
*/
final readonly class StopServerCommand implements MessageInterface
{
public function __construct(public int $code = 0)
{
}
}
| php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Message/GetServerStatusCommand.php | src/Core/src/Message/GetServerStatusCommand.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Message;
use PHPStreamServer\Core\MessageBus\MessageInterface;
use PHPStreamServer\Core\Plugin\System\Status\ServerStatus;
/**
* @implements MessageInterface<ServerStatus>
*/
final class GetServerStatusCommand implements MessageInterface
{
}
| php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Message/ConnectionClosedEvent.php | src/Core/src/Message/ConnectionClosedEvent.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Message;
use PHPStreamServer\Core\MessageBus\MessageInterface;
/**
* @implements MessageInterface<null>
*/
final readonly class ConnectionClosedEvent implements MessageInterface
{
public function __construct(
public int $pid,
public... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Message/GetSupervisorStatusCommand.php | src/Core/src/Message/GetSupervisorStatusCommand.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Message;
use PHPStreamServer\Core\MessageBus\MessageInterface;
use PHPStreamServer\Core\Plugin\Supervisor\Status\SupervisorStatus;
/**
* @implements MessageInterface<SupervisorStatus>
*/
final class GetSupervisorStatusCommand implements MessageInterfac... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Message/ProcessBlockedEvent.php | src/Core/src/Message/ProcessBlockedEvent.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Message;
use PHPStreamServer\Core\MessageBus\MessageInterface;
/**
* Process blocked by IO operations
* @implements MessageInterface<null>
*/
final readonly class ProcessBlockedEvent implements MessageInterface
{
public function __construct(
... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Message/ProcessSpawnedEvent.php | src/Core/src/Message/ProcessSpawnedEvent.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Message;
use PHPStreamServer\Core\MessageBus\MessageInterface;
/**
* Process spawned
* @implements MessageInterface<null>
*/
final readonly class ProcessSpawnedEvent implements MessageInterface
{
public function __construct(
public int $wo... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Message/ProcessExitEvent.php | src/Core/src/Message/ProcessExitEvent.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Message;
use PHPStreamServer\Core\MessageBus\MessageInterface;
/**
* @implements MessageInterface<null>
*/
final readonly class ProcessExitEvent implements MessageInterface
{
public function __construct(
public int $pid,
public int ... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Message/TxCounterIncreaseEvent.php | src/Core/src/Message/TxCounterIncreaseEvent.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Message;
use PHPStreamServer\Core\MessageBus\MessageInterface;
/**
* @implements MessageInterface<null>
*/
final readonly class TxCounterIncreaseEvent implements MessageInterface
{
public function __construct(
public int $pid,
publi... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Message/ProcessHeartbeatEvent.php | src/Core/src/Message/ProcessHeartbeatEvent.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Message;
use PHPStreamServer\Core\MessageBus\MessageInterface;
/**
* Process sends this message periodically
* @implements MessageInterface<null>
*/
final readonly class ProcessHeartbeatEvent implements MessageInterface
{
public function __constru... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Message/CompositeMessage.php | src/Core/src/Message/CompositeMessage.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Message;
use PHPStreamServer\Core\MessageBus\MessageInterface;
/**
* Sends multiple messages in a single message.
*
* @implements MessageInterface<void>
*/
final readonly class CompositeMessage implements MessageInterface
{
public function __cons... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Message/ReloadServerCommand.php | src/Core/src/Message/ReloadServerCommand.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Message;
use PHPStreamServer\Core\MessageBus\MessageInterface;
/**
* @implements MessageInterface<null>
*/
final readonly class ReloadServerCommand implements MessageInterface
{
public function __construct()
{
}
}
| php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Message/RequestCounterIncreaseEvent.php | src/Core/src/Message/RequestCounterIncreaseEvent.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Message;
use PHPStreamServer\Core\MessageBus\MessageInterface;
/**
* @implements MessageInterface<null>
*/
final readonly class RequestCounterIncreaseEvent implements MessageInterface
{
public function __construct(
public int $pid,
... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Console/Options.php | src/Core/src/Console/Options.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Console;
use PHPStreamServer\Core\Internal\Console\OptionDefinition;
final class Options
{
private array $parsedOptions;
/**
* @var array<OptionDefinition>
*/
private array $defaultOptionDefinitions = [];
/**
* @var array... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Console/Command.php | src/Core/src/Console/Command.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Console;
use PHPStreamServer\Core\Plugin\Plugin;
use PHPStreamServer\Core\Process;
use Revolt\EventLoop;
use Revolt\EventLoop\Driver;
abstract class Command
{
/**
* @readonly
* @internal
* @var \WeakMap<Driver, array{plugins: array<Plu... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Console/Table.php | src/Core/src/Console/Table.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Console;
final class Table implements \Stringable
{
private array $data = [];
private bool $headerRow = false;
private int $rowIndex = 0;
private array $columnWidths = [];
public function __construct(private readonly int $indent = 0)
... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Exception/ServerIsNotRunning.php | src/Core/src/Exception/ServerIsNotRunning.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Exception;
use PHPStreamServer\Core\Server;
final class ServerIsNotRunning extends \RuntimeException
{
public function __construct()
{
parent::__construct(Server::NAME . ' is not running');
}
}
| php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Exception/ServiceNotFoundException.php | src/Core/src/Exception/ServiceNotFoundException.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Exception;
use Psr\Container\NotFoundExceptionInterface;
final class ServiceNotFoundException extends \InvalidArgumentException implements NotFoundExceptionInterface
{
public function __construct(string $id)
{
parent::__construct(\sprintf... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Exception/ServerIsRunning.php | src/Core/src/Exception/ServerIsRunning.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Exception;
use PHPStreamServer\Core\Server;
final class ServerIsRunning extends \RuntimeException
{
public function __construct()
{
parent::__construct(Server::NAME . ' is running');
}
}
| php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Exception/PHPStreamServerException.php | src/Core/src/Exception/PHPStreamServerException.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Exception;
final class PHPStreamServerException extends \RuntimeException
{
}
| php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Exception/ParameterNotFoundException.php | src/Core/src/Exception/ParameterNotFoundException.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Exception;
final class ParameterNotFoundException extends \InvalidArgumentException
{
public function __construct(string $id)
{
parent::__construct(\sprintf('You have requested a non-existent parameter "%s"', $id));
}
}
| php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Exception/UserChangeException.php | src/Core/src/Exception/UserChangeException.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Exception;
final class UserChangeException extends \RuntimeException
{
}
| php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Internal/Container.php | src/Core/src/Internal/Container.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Internal;
use PHPStreamServer\Core\ContainerInterface;
use PHPStreamServer\Core\Exception\ParameterNotFoundException;
use PHPStreamServer\Core\Exception\ServiceNotFoundException;
use Psr\Container\NotFoundExceptionInterface;
/**
* @internal
*/
final cl... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Internal/SIGCHLDHandler.php | src/Core/src/Internal/SIGCHLDHandler.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Internal;
use Revolt\EventLoop;
/**
* @internal
*/
final class SIGCHLDHandler
{
private static bool $isRegistered = false;
private static string $signalCallbackId = '';
private static array $callbacks = [];
private function __construct... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Internal/ErrorHandler.php | src/Core/src/Internal/ErrorHandler.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Internal;
use Psr\Log\LoggerInterface;
use Psr\Log\LogLevel;
use Psr\Log\NullLogger;
use Revolt\EventLoop;
use Revolt\EventLoop\Driver\StreamSelectDriver;
/**
* @internal
*/
final class ErrorHandler
{
private const ERROR_LEVEL = [
\E_DEPREC... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Internal/ProcessUserChange.php | src/Core/src/Internal/ProcessUserChange.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Internal;
use PHPStreamServer\Core\Exception\UserChangeException;
use function PHPStreamServer\Core\getCurrentUser;
/**
* @internal
*/
trait ProcessUserChange
{
/**
* @throws UserChangeException
*/
private function setUserAndGroup(st... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Internal/Status.php | src/Core/src/Internal/Status.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Internal;
/**
* @internal
*/
enum Status
{
case SHUTDOWN;
case STARTING;
case RUNNING;
case STOPPING;
}
| php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Internal/MasterProcess.php | src/Core/src/Internal/MasterProcess.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Internal;
use PHPStreamServer\Core\ContainerInterface;
use PHPStreamServer\Core\Exception\PHPStreamServerException;
use PHPStreamServer\Core\Internal\Console\StdoutHandler;
use PHPStreamServer\Core\Logger\ConsoleLogger;
use PHPStreamServer\Core\Logger\Log... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Internal/Console/Colorizer.php | src/Core/src/Internal/Console/Colorizer.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Internal\Console;
/**
* @internal
*/
final class Colorizer
{
/**
* @see https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit
*/
private const COLORMAP = [
'black' => 0,
'red' => 1,
'green' => 2,
'yellow'... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Internal/Console/App.php | src/Core/src/Internal/Console/App.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Internal\Console;
use PHPStreamServer\Core\Console\Command;
use PHPStreamServer\Core\Console\Options;
use PHPStreamServer\Core\Console\Table;
use PHPStreamServer\Core\Exception\ServerIsNotRunning;
use PHPStreamServer\Core\Exception\ServerIsRunning;
use PH... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Internal/Console/StdoutHandler.php | src/Core/src/Internal/Console/StdoutHandler.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Internal\Console;
/**
* Redirects standard output to a custom stream with colorization filters
* @internal
*/
final class StdoutHandler
{
/** @var resource|null */
private static mixed $stdout = null;
/** @var resource|null */
private ... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Internal/Console/OptionDefinition.php | src/Core/src/Internal/Console/OptionDefinition.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Internal\Console;
/**
* @internal
*/
final readonly class OptionDefinition
{
public function __construct(
public string $name,
public string|null $shortName = null,
public string $description = '',
public string|null ... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/ReloadStrategy/ReloadStrategy.php | src/Core/src/ReloadStrategy/ReloadStrategy.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\ReloadStrategy;
interface ReloadStrategy
{
/**
* If the method returns true, the worker should be reloaded immediately.
*
* @param mixed $eventObject could be a request object, exception object, or null, depending on the eventCode.
... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/ReloadStrategy/MaxMemoryReloadStrategy.php | src/Core/src/ReloadStrategy/MaxMemoryReloadStrategy.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\ReloadStrategy;
/**
* Reload worker if worker memory usage has increased $maxMemory value
*/
final class MaxMemoryReloadStrategy implements TimerReloadStrategy
{
private const TIMER_INTERVAL = 30;
public function __construct(private readonly in... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/ReloadStrategy/TTLReloadStrategy.php | src/Core/src/ReloadStrategy/TTLReloadStrategy.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\ReloadStrategy;
/**
* Reload worker after $ttl working time
*/
final class TTLReloadStrategy implements TimerReloadStrategy
{
/**
* @param int $ttl TTL in seconds
*/
public function __construct(private readonly int $ttl)
{
}
... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/ReloadStrategy/TimerReloadStrategy.php | src/Core/src/ReloadStrategy/TimerReloadStrategy.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\ReloadStrategy;
interface TimerReloadStrategy extends ReloadStrategy
{
/**
* Strategy will be triggered repeatedly every N seconds.
*
* @return int Timer interval in seconds
*/
public function getInterval(): int;
}
| php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/ReloadStrategy/ExceptionReloadStrategy.php | src/Core/src/ReloadStrategy/ExceptionReloadStrategy.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\ReloadStrategy;
/**
* Reload worker each time when exception occurs
*/
final class ExceptionReloadStrategy implements ReloadStrategy
{
private array $allowedExceptions = [
\CompileError::class,
'Amp\Http\Server\HttpErrorException',
... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Command/StatusCommand.php | src/Core/src/Command/StatusCommand.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Command;
use PHPStreamServer\Core\Console\Command;
use PHPStreamServer\Core\Console\Table;
use PHPStreamServer\Core\Message\GetServerStatusCommand;
use PHPStreamServer\Core\Message\GetSupervisorStatusCommand;
use PHPStreamServer\Core\MessageBus\SocketFile... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Command/WorkersCommand.php | src/Core/src/Command/WorkersCommand.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Command;
use PHPStreamServer\Core\Console\Command;
use PHPStreamServer\Core\Console\Table;
use PHPStreamServer\Core\Message\GetSupervisorStatusCommand;
use PHPStreamServer\Core\MessageBus\ExternalProcessMessageBus;
use PHPStreamServer\Core\Plugin\Supervis... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Command/StopCommand.php | src/Core/src/Command/StopCommand.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Command;
use PHPStreamServer\Core\Console\Command;
use PHPStreamServer\Core\Message\StopServerCommand;
use PHPStreamServer\Core\MessageBus\ExternalProcessMessageBus;
use PHPStreamServer\Core\Server;
class StopCommand extends Command
{
final public st... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Command/ConnectionsCommand.php | src/Core/src/Command/ConnectionsCommand.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Command;
use PHPStreamServer\Core\Console\Command;
use PHPStreamServer\Core\Console\Table;
use PHPStreamServer\Core\Message\GetConnectionsStatusCommand;
use PHPStreamServer\Core\MessageBus\ExternalProcessMessageBus;
use PHPStreamServer\Core\Plugin\System\... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Command/ReloadCommand.php | src/Core/src/Command/ReloadCommand.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Command;
use PHPStreamServer\Core\Console\Command;
use PHPStreamServer\Core\Message\ReloadServerCommand;
use PHPStreamServer\Core\MessageBus\ExternalProcessMessageBus;
use PHPStreamServer\Core\Server;
class ReloadCommand extends Command
{
final publi... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Command/ProcessesCommand.php | src/Core/src/Command/ProcessesCommand.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Command;
use PHPStreamServer\Core\Console\Command;
use PHPStreamServer\Core\Console\Table;
use PHPStreamServer\Core\Message\GetConnectionsStatusCommand;
use PHPStreamServer\Core\Message\GetSupervisorStatusCommand;
use PHPStreamServer\Core\MessageBus\Exter... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Core/src/Command/StartCommand.php | src/Core/src/Command/StartCommand.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Core\Command;
use PHPStreamServer\Core\Console\Command;
use PHPStreamServer\Core\Console\Table;
use PHPStreamServer\Core\Exception\ServerIsRunning;
use PHPStreamServer\Core\Internal\MasterProcess;
use PHPStreamServer\Core\Plugin\Supervisor\Status\SupervisorSta... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Metrics/src/Counter.php | src/Metrics/src/Counter.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Plugin\Metrics;
use PHPStreamServer\Plugin\Metrics\Exception\LabelsNotMatchException;
use PHPStreamServer\Plugin\Metrics\Internal\Message\IncreaseCounterMessage;
use PHPStreamServer\Plugin\Metrics\Internal\Metric;
use Revolt\EventLoop;
final class Counter ext... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Metrics/src/Histogram.php | src/Metrics/src/Histogram.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Plugin\Metrics;
use PHPStreamServer\Plugin\Metrics\Exception\LabelsNotMatchException;
use PHPStreamServer\Plugin\Metrics\Internal\Message\ObserveHistorgamMessage;
use PHPStreamServer\Plugin\Metrics\Internal\Metric;
use Revolt\EventLoop;
final class Histogram ... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Metrics/src/RegistryInterface.php | src/Metrics/src/RegistryInterface.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Plugin\Metrics;
use PHPStreamServer\Plugin\Metrics\Exception\MetricNotFoundException;
interface RegistryInterface
{
/**
* @param list<string> $labels
*/
public function registerCounter(string $namespace, string $name, string $help, array $la... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Metrics/src/Summary.php | src/Metrics/src/Summary.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Plugin\Metrics;
use PHPStreamServer\Plugin\Metrics\Exception\LabelsNotMatchException;
use PHPStreamServer\Plugin\Metrics\Internal\Message\ObserveSummaryMessage;
use PHPStreamServer\Plugin\Metrics\Internal\Metric;
use Revolt\EventLoop;
final class Summary exte... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Metrics/src/Gauge.php | src/Metrics/src/Gauge.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Plugin\Metrics;
use PHPStreamServer\Plugin\Metrics\Exception\LabelsNotMatchException;
use PHPStreamServer\Plugin\Metrics\Internal\Message\SetGaugeMessage;
use PHPStreamServer\Plugin\Metrics\Internal\Metric;
use Revolt\EventLoop;
final class Gauge extends Metr... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Metrics/src/MetricsPlugin.php | src/Metrics/src/MetricsPlugin.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Plugin\Metrics;
use Amp\Http\HttpStatus;
use Amp\Http\Server\Driver\DefaultHttpDriverFactory;
use Amp\Http\Server\Driver\SocketClientFactory;
use Amp\Http\Server\Request;
use Amp\Http\Server\RequestHandler;
use Amp\Http\Server\Response;
use Amp\Http\Server\Soc... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Metrics/src/Exception/LabelsNotMatchException.php | src/Metrics/src/Exception/LabelsNotMatchException.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Plugin\Metrics\Exception;
final class LabelsNotMatchException extends \InvalidArgumentException
{
public function __construct(array $labels, array $givenLabels)
{
if ($labels === [] && $givenLabels !== []) {
$text = \sprintf('Labels... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Metrics/src/Exception/MetricNotFoundException.php | src/Metrics/src/Exception/MetricNotFoundException.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Plugin\Metrics\Exception;
final class MetricNotFoundException extends \InvalidArgumentException
{
public function __construct(string $type, string $namespace, string $name)
{
parent::__construct(\sprintf('%s metric "%s_%s" not found', \ucfirst(... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Metrics/src/Internal/MessageBusRegistry.php | src/Metrics/src/Internal/MessageBusRegistry.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Plugin\Metrics\Internal;
use PHPStreamServer\Core\MessageBus\MessageBusInterface;
use PHPStreamServer\Plugin\Metrics\Counter;
use PHPStreamServer\Plugin\Metrics\Exception\MetricNotFoundException;
use PHPStreamServer\Plugin\Metrics\Gauge;
use PHPStreamServer\Pl... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Metrics/src/Internal/InMemory.php | src/Metrics/src/Internal/InMemory.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Plugin\Metrics\Internal;
use Prometheus\Storage\InMemory as PrometheusInMemory;
/**
* @internal
*/
final class InMemory extends PrometheusInMemory
{
public function remove(string $type, string $namespace, string $name, array $labels): void
{
... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Metrics/src/Internal/NotFoundPage.php | src/Metrics/src/Internal/NotFoundPage.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Plugin\Metrics\Internal;
use Amp\Http\HttpStatus;
use PHPStreamServer\Core\Server;
/**
* @internal
*/
final readonly class NotFoundPage
{
public int $status;
public string $reason;
public string $server;
public function __construct(int $sta... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Metrics/src/Internal/Metric.php | src/Metrics/src/Internal/Metric.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Plugin\Metrics\Internal;
use PHPStreamServer\Core\MessageBus\MessageBusInterface;
use PHPStreamServer\Plugin\Metrics\Exception\LabelsNotMatchException;
use PHPStreamServer\Plugin\Metrics\Internal\Message\RemoveMetricMessage;
/**
* @internal
*/
abstract clas... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Metrics/src/Internal/MessageBusRegistryHandler.php | src/Metrics/src/Internal/MessageBusRegistryHandler.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Plugin\Metrics\Internal;
use PHPStreamServer\Core\MessageBus\MessageHandlerInterface;
use PHPStreamServer\Plugin\Metrics\Internal\Message\GetMetricMessage;
use PHPStreamServer\Plugin\Metrics\Internal\Message\GetMetricResponse;
use PHPStreamServer\Plugin\Metric... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Metrics/src/Internal/Message/SetGaugeMessage.php | src/Metrics/src/Internal/Message/SetGaugeMessage.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Plugin\Metrics\Internal\Message;
use PHPStreamServer\Core\MessageBus\MessageInterface;
/**
* @implements MessageInterface<null>
* @internal
*/
final readonly class SetGaugeMessage implements MessageInterface
{
public function __construct(
publi... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
phpstreamserver/phpstreamserver | https://github.com/phpstreamserver/phpstreamserver/blob/6cf8fa902fd05af8b8302f4a0cb46f64910db294/src/Metrics/src/Internal/Message/GetMetricMessage.php | src/Metrics/src/Internal/Message/GetMetricMessage.php | <?php
declare(strict_types=1);
namespace PHPStreamServer\Plugin\Metrics\Internal\Message;
use PHPStreamServer\Core\MessageBus\MessageInterface;
/**
* @implements MessageInterface<GetMetricResponse|false>
* @internal
*/
final readonly class GetMetricMessage implements MessageInterface
{
private function __con... | php | MIT | 6cf8fa902fd05af8b8302f4a0cb46f64910db294 | 2026-01-05T04:03:17.382897Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.