Tag

Workerman

0 views collected around this technical thread.

Laravel Tech Community
Laravel Tech Community
Mar 14, 2023 · Backend Development

Implementing High‑Precision Timers in PHP with Workerman and Swoole

This article explains why traditional crontab cannot meet second‑ or millisecond‑level scheduling requirements in PHP projects and demonstrates how to use Workerman and Swoole timers, including code examples for one‑time, recurring, and task‑based executions.

PHPSchedulingSwoole
0 likes · 6 min read
Implementing High‑Precision Timers in PHP with Workerman and Swoole
Laravel Tech Community
Laravel Tech Community
Feb 12, 2023 · Backend Development

Getting Started with Workerman: Installation, Commands, and RPC Usage in PHP

This guide introduces the high‑performance Workerman PHP socket framework, outlines its key features, provides step‑by‑step installation and start/stop commands, and demonstrates how to build and consume RPC services with both synchronous and asynchronous client calls.

High PerformancePHPRPC
0 likes · 4 min read
Getting Started with Workerman: Installation, Commands, and RPC Usage in PHP
Laravel Tech Community
Laravel Tech Community
Jul 13, 2020 · Backend Development

Implementing Real‑Time Communication with Workerman and GatewayWorker Using WebSocket in PHP

This tutorial explains how to use the Workerman PHP socket framework and GatewayWorker to replace HTTP long‑polling with WebSocket‑based real‑time communication, covering protocol basics, short vs. long connections, integration with MVC frameworks, and complete client‑ and server‑side code examples.

Long ConnectionPHPWebSocket
0 likes · 8 min read
Implementing Real‑Time Communication with Workerman and GatewayWorker Using WebSocket in PHP