src/Viserio/Component/WebServer/Provider/ConsoleCommandsServiceProvider.php
public static function getDefaultOptions(): array
    {
        $commands = [
            'server:serve'    => ServerServeCommand::class,
            'server:start'    => ServerStartCommand::class,
            'server:stop'     => ServerStopCommand::class,
            'server:status'   => ServerStatusCommand::class,
        ];

        if (\class_exists(VarDumper::class)) {
            $commands['server:dump'] = ServerDumpCommand::class;
        }

        if (\class_exists(ConsoleFormatter::class) && \interface_exists(FormatterInterface::class)) {
            $commands['server:log'] = ServerLogCommand::class;
        }

        return [
            'console' => [
                'lazily_commands' => $commands,
            ],
            'webserver' => [
                'web_folder' => 'public',
            ],
        ];
    }
public static function getDefaultOptions(): array
    {
        $commands = [
            'server:serve'    => ServerServeCommand::class,
            'server:start'    => ServerStartCommand::class,
            'server:stop'     => ServerStopCommand::class,
            'server:status'   => ServerStatusCommand::class,
        ];

        if (\class_exists(VarDumper::class)) {
            $commands['server:dump'] = ServerDumpCommand::class;
        }

        if (\class_exists(ConsoleFormatter::class) && \interface_exists(FormatterInterface::class)) {
            $commands['server:log'] = ServerLogCommand::class;
        }

        return [
            'console' => [
                'lazily_commands' => $commands,
            ],
            'webserver' => [
                'web_folder' => 'public',
            ],
        ];
    }
{@inheritdoc}