If you want to make PHP Console initialization more lightweight on your server, then you should execute initialization code only if PhpConsole\Connector->getInstance()->isActiveClient() returns true