Tagged articles
Webman
85 articles · Page 1 of 1
The tinywan/webman-typephp plugin automates TypePHP AOT compilation for Webman 2.x projects, generating a portable Linux binary directory with a Docker-based builder that eliminates manual C++ toolchain setup.
AOTDockerLinux
0 likes · 11 min read

Using TypePHP on Windows, the author demonstrates a fully automated workflow that compiles the Webman framework into a self‑contained .exe, detailing the build and packaging scripts, resolving static‑link symbol conflicts, strict type errors, SAPI adjustments, and verifying all routes run without a PHP runtime.
PHP compilationTypePHPWebman
0 likes · 8 min read

This article explains the 2026‑07‑28 MCP stateless protocol changes, the removal of session concepts, new self‑describing request mechanisms, and provides step‑by‑step examples using the webman‑mcp PHP SDK and Neuron‑AI integration, along with compatibility challenges and mitigation strategies.
MCPNeuron AIOpenTelemetry
0 likes · 19 min read

This article demonstrates a concise method to empower Webman command modules with event‑loop capabilities by extending the Worker class, creating an AbstractCommand base, and defining a concrete command that runs within the event‑loop, complete with runnable code examples and execution output.
CommandWebmanevent-loop
0 likes · 7 min read

The article explains how the Neuron AI framework enables PHP developers to build, orchestrate, and deploy multi‑agent AI solutions using the high‑performance Webman server, compares it with Python‑based alternatives, provides step‑by‑step code examples, and demonstrates real‑world scenarios and performance benchmarks.
AI agentsBackendNeuron
0 likes · 11 min read

This guide shows PHP developers how to create a smart video‑processing agent by combining the high‑performance Webman framework, the Neuron AI agent library supporting multiple LLMs, and FFmpeg tools, covering stack selection, core implementation steps, sample code for tools, controller integration, and visual demos of video info extraction, screenshot and transcoding.
FFmpegLLMWebman
0 likes · 9 min read

This guide walks you through installing the Webman framework, adding the Neuron AI package via Composer, generating a custom Agent class, configuring its provider with an API key, and interacting with the agent through a controller to receive responses from a large language model.
AgentComposerLLM
0 likes · 3 min read

Since version v2.2.0, Webman lets you define routes directly on controller methods with PHP attributes, eliminating the need for config/route.php and offering flexible path, method, name, group, middleware, and URL‑generation capabilities.
Annotation RoutingBackendPHP
0 likes · 6 min read

This step‑by‑step tutorial shows how to install the Webman PHP framework, integrate the Neuron AI Agent, configure a custom Alibaba Cloud Baileian model provider, build an AssistantAgent, and expose a Server‑Sent Events controller for real‑time AI chat responses.
AI assistantAlibaba CloudNeuron AI
0 likes · 13 min read

This guide explains how to enable Gzip compression for Webman’s Phar packaging, detailing the benefits, potential drawbacks, required code modifications, build and deployment commands, and practical tips to achieve a 70‑80% size reduction while maintaining compatibility.
GZIPPHPPhar
0 likes · 7 min read

This guide explains how to install Symfony AI components, use the Gemini platform, and create a Webman endpoint that leverages AI for chat, RAG search, and intelligent agents, providing full code examples and response handling.
AI integrationBackendPHP
0 likes · 5 min read

After MinIO entered maintenance mode in December 2025, RustFS—a Rust‑written, Apache‑2.0 licensed, high‑performance distributed object storage—offers memory‑safe design, cross‑platform Docker deployment, S3 compatibility, and seamless integration with the Webman PHP framework, providing a compelling alternative for cloud‑native environments.
DockerObject StorageRust
0 likes · 5 min read

This article introduces a high‑performance, high‑availability AOP plugin for the Webman framework that works on PHP 8, explains its features, installation, configuration, usage examples, custom aspect creation methods, notification types, execution order, JoinPoint API, and provides complete code samples for caching and transaction aspects.
AOPAspect-Oriented ProgrammingPHP
0 likes · 10 min read

Amid the AI surge, traditional PHP frameworks must shift from developer‑centric flexibility to AI‑friendly determinism, emphasizing clear interface contracts, predictable directory structures, immutable lifecycles, and simple dependency injection, enabling AI agents to reliably generate code from PRDs and fostering stable, scalable AI‑first architectures.
AIBackendPHP
0 likes · 10 min read

This guide explains how to install, configure, and run the Webman MCP plugin—covering features, command‑line tools, component creation, and deployment steps—to rapidly set up a Model Context Protocol server using PHP.
MCPPHPWebman
0 likes · 3 min read

Learn step‑by‑step how to set up Docker and Docker Compose on Linux, macOS, and Windows, install optional Composer, initialize a Webman project, and use the built‑in docker‑compose.yml to perform one‑click development or production deployments, including custom service configuration and troubleshooting tips.
BackendDockerDocker Compose
0 likes · 6 min read

This guide introduces Zaihangyun, a lightweight BaaS platform for solo developers, outlines its key features, provides source code links, and details step‑by‑step installation and deployment instructions for both the admin backend and API services.
APIBaaSLaravel
0 likes · 8 min read

This guide explains why RPC is needed, introduces the tinywan/rpc plugin for the Webman framework, and provides step‑by‑step installation, server and client code examples, response handling, error logging, advantages, and real‑world use cases for building fast, flexible backend services.
PHPRPCRemote Procedure Call
0 likes · 6 min read

ThinkTemplate is a high‑performance, XML‑based compiled PHP template engine originally built for ThinkPHP, offering customizable delimiters, native PHP support, file inclusion, multi‑level nesting, caching, variable defaults, security controls, and flexible tag types, with detailed installation and usage examples for web frameworks.
PHPTemplate EngineThinkTemplate
0 likes · 7 min read

This tutorial explains how to combine the high‑performance PHP microservice framework Webman with the S3‑compatible MinIO object storage using the tinywan/storage extension, covering environment setup, configuration, service class creation, controller implementation, routing, and testing to build a fast, reliable file‑management microservice.
File UploadMinIOPHP
0 likes · 9 min read

This guide explains how to set up the PHP‑Bilibili‑Danmu framework built on Webman, configure Protocol Buffers, run database migrations, connect to Bilibili live rooms, handle danmu and interaction events, and verify the installation using a management dashboard.
BilibiliDanmuPHP
0 likes · 7 min read

This guide shows how to install the asynchronous webman/openai client, make streaming and non‑streaming calls to the Tongyi Qianwen API, and classify user feedback in PHP with high concurrency using the Webman framework.
API integrationFeedback ClassificationOpenAI
0 likes · 9 min read

This guide explains how to replace traditional session‑based captcha authentication with a Redis‑backed, token‑driven solution using the high‑performance PHP Webman framework and the tinywan/captcha plugin, covering architecture, generation and verification flows, installation steps, and code examples.
CAPTCHALogin SecurityPHP
0 likes · 8 min read

This guide walks PHP developers through designing a relational database schema and implementing a role‑based access control (RBAC) system in the Webman framework by integrating Casbin for policy enforcement and ThinkORM for elegant ORM handling, complete with configuration, model definitions, and middleware.
BackendCasbinPHP
0 likes · 13 min read

This article walks through the design, pitfalls, and step‑by‑step implementation of a token‑bucket rate‑limiting middleware for the Webman PHP framework, highlighting the need for atomic Redis operations and showing how a Lua script resolves concurrency issues in distributed environments.
LuaPHPWebman
0 likes · 19 min read

This guide walks through installing Supervisor on Linux, explains its role as a Python‑based process manager, shows how to create a Webman daemon using 1Panel, and provides detailed configuration and management steps for supervising the daemon.
LinuxProcess ManagementWebman
0 likes · 3 min read

This guide walks through setting up an Ubuntu 22.04 server, installing PHP and Composer, deploying the Webman 2.0 framework, and using ApacheBench to issue 100,000 requests with 100 concurrent keep‑alive connections, achieving roughly 280,000 QPS and demonstrating the framework’s high‑throughput performance.
BackendPHPWebman
0 likes · 2 min read

This guide explains Nacos 3.0 architecture, shows how to quickly deploy it with Docker, configure JWT authentication, verify service startup, perform service registration and discovery, publish and retrieve configurations, and integrate Nacos with the Webman PHP framework using the webman‑nacos plugin.
Configuration ManagementDockerPHP
0 likes · 8 min read

This article evaluates the 2025 PHP framework landscape, detailing Webman's performance‑focused architecture, ThinkPHP's enterprise‑friendly features, and Laravel's extensive ecosystem, while offering practical guidance on choosing the right framework for high‑concurrency, real‑time, and large‑scale web applications.
LaravelPHPThinkPHP
0 likes · 7 min read

This guide walks developers through setting up Alipay payment in the high‑performance Webman PHP framework, covering environment preparation, SDK integration via Composer, configuration of keys and certificates, building payment logic, creating frontend APIs, handling asynchronous notifications, and best practices for secure, scalable transactions.
AlipayPHPPayment Integration
0 likes · 14 min read

This guide walks you through setting up a private AI knowledge base using Webman AI 5.4.0, deploying Redis‑Stack, installing the illuminate/redis component, adding Ollama with DeepSeek and other embedding models, configuring Redis, importing training data, running the training process, and configuring role prompts for accurate AI responses.
AIDeepSeekOllama
0 likes · 6 min read

This guide explains how to install the EasyWeChat PHP SDK via Composer, meet its environment requirements, configure OAuth settings, and implement a complete authorization flow with example code for the Webman framework, including callback handling and a live demo link.
ComposerEasyWeChatOAuth
0 likes · 5 min read

This article provides a comprehensive overview of the yansongda/pay PHP SDK, detailing its key features, supported payment channels (Alipay, WeChat, Douyin, UnionPay, Jiangsu Bank), installation via Composer, configuration files, and step‑by‑step code examples for initializing the SDK and handling web, asynchronous, and synchronous payment flows within a Webman application.
AlipayPHPSDK
0 likes · 14 min read

This guide explains why SPA pages struggle with SEO, outlines the challenges of client‑side rendering, and presents three technical solutions—including SSR, headless browsers, and a PHP‑based reverse‑proxy architecture—complete with Nginx configuration and implementation steps.
NginxPHPSEO
0 likes · 13 min read

This guide shows how to configure Webman's rate‑limiter component—both the programmatic and annotation styles—to throw a custom TooManyRequestsHttpException, ensuring a unified JSON response with HTTP 429 status and a clear "maximum 5 messages per day" message for each phone number.
AnnotationsException HandlingPHP
0 likes · 6 min read

This article explores why excessive try‑catch blocks clutter PHP code, compares a messy controller implementation with a clean version, explains PHP exception fundamentals, and demonstrates how to centralize error handling in Webman using a custom TinywanHandler with practical configuration and examples.
Custom HandlerExceptionPHP
0 likes · 17 min read

Workerman/http-client is a high‑performance, asynchronous PHP HTTP client that follows PSR‑7, includes a built‑in connection pool, supports multiple protocols, and can be installed via Composer; the guide shows installation steps, coroutine usage, concurrent request examples, and integration with Webman.
Async HTTPPHPPSR-7
0 likes · 6 min read

This guide explains Webman 5's support for Fiber, Swoole, and Swow coroutine drivers, shows how to install the required packages, configure each worker to use a specific driver, provides complete PHP code examples for Workerman and Webman, demonstrates starting the server, checking its status, and highlights compatibility constraints between Swow and Swoole.
CoroutinesFiberPHP
0 likes · 12 min read

This guide explains how to create a scalable PHP queue and ticket‑calling system using the high‑performance Webman framework and GatewayWorker, covering the system’s purpose, core components, step‑by‑step installation, configuration, startup commands, and sample log output.
BackendGatewayWorkerPHP
0 likes · 5 min read

This guide outlines Webman’s latest development conventions, covering PHP version selection, naming rules, memory-resident processes, logging, routing, deployment, controller design, database queries, security measures, and more to help developers write clean, efficient, and secure code.
Database QueriesPHPRouting
0 likes · 22 min read

This guide explains how to install the Webman rate‑limiter plugin, configure its drivers (memory, APCu, Redis), and use annotation‑driven limits in PHP controllers, including custom keys, whitelist IPs, and manual limiter checks.
BackendPHPRate Limiter
0 likes · 6 min read

This tutorial walks you through using Alibaba Cloud's DevOps platform to create a full CI/CD pipeline for the SaiAdmin Vue3 + Webman admin framework, covering pipeline creation, source configuration, build commands, artifact handling, and Nginx deployment settings.
Alibaba CloudCI/CDDevOps
0 likes · 8 min read

This article explains what memory leaks are, why they matter for the long‑running Webman PHP framework, outlines the two conditions that cause leaks, demonstrates a faulty static‑array implementation with load‑testing results, provides corrected code, and summarizes best practices to avoid unbounded memory growth.
Memory LeakPHPWebman
0 likes · 5 min read

When upgrading Workerman or Webman‑Framework, a PHP fatal error can occur due to an outdated Alibaba Cloud Composer mirror, and the solution involves removing the mirror, setting the correct package version, or switching to an alternative Composer proxy.
ComposerDependency ManagementPHP
0 likes · 3 min read

This tutorial walks you through downloading PHP 8.4, installing required libraries, compiling and installing the interpreter, configuring php.ini and PHP‑FPM, setting up a systemd service, then adding Composer, Webman and ThinkPHP frameworks, and finally configuring Nginx to serve the applications.
ComposerLinuxPHP
0 likes · 14 min read

This guide explains Webman's latest additions for PHP 8+, covering controller method parameter injection, middleware support, fallback route middleware, disabling default routes, request data overriding, and simplified view rendering, along with upgrade considerations.
ControllerBindingUpgradeGuideWebman
0 likes · 6 min read

This guide walks you through setting up a private MinIO object storage server using Docker, explains core concepts like buckets and access keys, and demonstrates how to configure the Webman PHP framework with the MinIO plugin to upload, manage, and preview files via the MinIO console.
DockerMinIOObject Storage
0 likes · 9 min read

The Madong management system is an open‑source, enterprise‑grade admin solution that combines a Vue 3/Vite/TypeScript front‑end stack with a high‑performance PHP Webman backend, offering features such as component libraries, dynamic menus, permission control, multi‑theme support, and detailed architecture documentation.
Admin DashboardPHPTypeScript
0 likes · 7 min read

This guide explains how to add the Casbin access‑control library to a Webman PHP project, covering installation, dependency‑injection setup, database schema creation, Redis configuration, quick‑start code examples, and custom logging with PSR‑3 support.
BackendCasbinPHP
0 likes · 7 min read

This guide explains the concept of stream output, its advantages and typical scenarios, then provides step‑by‑step implementations of Server‑Sent Events and HTTP chunk streaming using the Webman framework, including PHP process code, configuration, startup commands, and front‑end testing.
HTTP ChunkPHPSSE
0 likes · 9 min read

This guide explains why and how to split large MySQL log tables by month, covering table design, core SQL statements, required Webman and ThinkORM setup, and complete PHP code for creating, querying, and inserting into monthly partitions.
MySQLPHPTable Partitioning
0 likes · 8 min read

This guide explains how to install the webman-coroutine plugin, set up the Swow extension, configure Webman for coroutine event loops, and use utility classes such as Pool, Channel, and WaitGroup to build a dynamic Redis connection pool with example code and test results.
PHPSwowWebman
0 likes · 8 min read

This tutorial explains what Swow is, walks through installing Workerman 5.0 and the Swow extension via Composer, shows how to run the Swow builder, configure Webman to use Swow's event loop, and demonstrates basic coroutine usage and debugging in PHP.
BackendPHPSwow
0 likes · 7 min read

This article reviews the three most popular PHP frameworks of 2024—Laravel, ThinkPHP, and webman—detailing their key features, performance characteristics, and suitable use‑cases to help developers choose the best fit for their projects.
BackendThinkPHPWebman
0 likes · 6 min read

This guide explains how to install Webman's official log plugin and ThinkORM, configure database settings, execute SQL queries, and locate the generated SQL logs, while also covering important configuration tweaks to ensure proper logging behavior.
BackendLog PluginPHP
0 likes · 3 min read

This guide introduces Medoo, a lightweight PHP database framework built on PDO, outlines its key features, shows installation via Composer, demonstrates basic CRUD operations, and explains integration with the Webman framework, including multi‑database configuration and usage examples.
CRUDComposerMedoo
0 likes · 4 min read

This guide walks you through installing Webman on ServBay, configuring routes, controllers, and multiple databases, then running the project to demonstrate high‑concurrency PHP web applications with real‑time API endpoints.
BackendPHPServBay
0 likes · 8 min read

This tutorial walks through creating a scalable, infinite‑size collaborative whiteboard that synchronizes drawing actions across multiple browsers in real time using WebSocket, Canvas, and the Webman PHP framework, covering server setup, front‑end integration, and full code examples.
CanvasJavaScriptPHP
0 likes · 6 min read

The author benchmarked Go's standard HTTP library against PHP frameworks Workerman, Webman, and Swoole (including coroutine mode) on a 4‑core Ubuntu 20.04 Aliyun instance using ApacheBench with and without keep‑alive, revealing that Workerman and Webman often outperform Go in raw request‑per‑second throughput.
GoWebmanapachebench
0 likes · 6 min read

Traditional LAMP stacks, relying on php‑fpm and nginx, suffer from synchronous blocking and high CPU usage, limiting throughput for IO‑intensive microservice workloads, while benchmarks show that upgrading to PHP 7 and using a modern, asynchronous PHP framework like Webman can dramatically improve QPS and reduce latency.
PHPWebmanYii2
0 likes · 9 min read

This guide explains Zipkin's architecture, data collection methods, and step‑by‑step installation and configuration for PHP applications, including creating tracers, recording spans, and integrating a middleware for full‑stack monitoring in Webman microservice environments.
Distributed TracingPHPWebman
0 likes · 8 min read

This guide explains RabbitMQ's core concepts, architecture, installation via 1Panel, configuration of the Webman RabbitMQ plugin, and demonstrates how to set up producers and consumers with code examples for reliable message handling.
AMQPBackendMessage Queue
0 likes · 12 min read

This article explains how to design and implement a fast, shared‑memory cache for a PHP‑based strategy game backend using Webman, Redis, MySQL, and APCu, covering service architecture, Redis usage, atomic operations with APCu locks, channel and list mechanisms, and practical code examples for multi‑process communication.
PHPShared MemoryWebman
0 likes · 14 min read

This guide walks developers through registering for Alibaba Cloud's Tongyi Qianwen large‑language model, creating a DashScope API‑KEY, and using the OpenAI‑compatible interface with the Webman/openai PHP plugin and a simple JavaScript client to stream responses.
DashScopeJavaScriptOpenAI-compatible API
0 likes · 7 min read

Learn how to design a multi‑tenant SaaS platform using a shared database with independent schemas, covering isolation levels, Oracle and MySQL schema concepts, DNS‑based routing, dynamic connection switching in PHP with Webman, ThinkORM configuration, custom functions, and data synchronization strategies.
PHPSaaSWebman
0 likes · 15 min read

This guide explains how to set up the full‑function Midjourney proxy plugin on the Webman framework, covering installation, configuration, Nginx/WSS proxy examples, and detailed API endpoints for image generation, blending, describing, and task management.
Image GenerationMidjourneyPHP
0 likes · 11 min read

This guide explains how to add Moonshot's large language model to the Webman 5.0 framework, covering feature highlights, driver and processor implementation in PHP, configuration of model mappings, role settings, and practical code snippets for seamless AI integration.
AI integrationAPI ConfigurationModel driver
0 likes · 6 min read

This tutorial explains what a Dependency Injection (DI) container is, shows how to install php-di, demonstrates basic usage including container creation, automatic wiring, constructor and annotation injection, and provides custom injection techniques for the Webman framework with concrete code examples.
PHPWebmanbackend development
0 likes · 9 min read

This guide shows how to install the OpenAI PHP async client and implement streaming and non‑streaming chat, image generation, audio speech, and embedding features using Workerman and Webman, including Azure OpenAI support, with complete code examples.
APIOpenAIPHP
0 likes · 6 min read

This guide explains what FFmpeg is, shows how to install it on Ubuntu 18.04, demonstrates integrating the Webman framework and PHP‑FFMpeg library, and provides step‑by‑step code examples for extracting images, adding watermarks, and basic video editing.
ComposerPHPUbuntu
0 likes · 6 min read

This guide explains how to implement server‑side WebSocket message persistence using MySQL, covering requirement analysis, database schema design, Think‑ORM integration, event handling code, testing scripts, and performance considerations for high‑concurrency scenarios.
MySQLPHPWebSocket
0 likes · 10 min read

This guide explains WebSocket fundamentals, shows the HTTP handshake process, provides JavaScript client examples, and walks through a full server‑side implementation using the high‑performance PHP Webman framework with the GatewayWorker plugin, including installation, configuration, and advanced message handling.
GatewayWorkerPHPReal-time Messaging
0 likes · 8 min read

This guide shows how to integrate PhpSpreadsheet into a Webman PHP project, covering Composer installation, detailed code for safely importing Excel files with validation and data extraction, and generating Excel exports with styled headers, custom column widths, and base64‑encoded file delivery.
ComposerExcelExport
0 likes · 7 min read

This tutorial walks you through the entire process of enabling WeChat Pay in a Webman‑Admin project, covering merchant registration, certificate handling, backend configuration, PHP code setup, front‑end JS integration, asynchronous callbacks, and logging details.
APIPHPPayment Integration
0 likes · 11 min read

This article compares the high‑performance Webman PHP framework with OpenResty, ThinkPHP6, and traditional FPM setups, detailing architecture, request handling, and extensive ApacheBench benchmark results that show Webman's superior QPS and lower latency.
PHPThinkPHPWebman
0 likes · 12 min read

This article explains how to create a Webman plugin that integrates Nacos for configuration management, covering design goals, implementation details, code examples, problem fixes, and service load‑balancing strategies for both client and provider sides.
ConfigurationNacosPHP
0 likes · 13 min read

This tutorial explains the concepts of service registration and discovery in microservice architectures, introduces Nacos as a dynamic registry, and provides step‑by‑step PHP code for registering providers and discovering services using the Webman framework, including persistence and clustering considerations.
NacosPHPWebman
0 likes · 11 min read

This guide explains what Nacos is, its core features such as service registration, dynamic configuration, and DNS services, and provides step‑by‑step instructions for installing the webman‑nacos plugin, configuring Nacos, writing PHP code to read configurations, and using dynamic listeners and version rollback.
Configuration ManagementNacosPHP
0 likes · 10 min read

This guide explains why API rate limiting is essential, shows how to install the tinywan/limit-traffic package via Composer, configure global or route‑specific middleware in Webman, retrieve limit settings, customize response headers, status codes, and body formats for controlled API access.
APIComposerPHP
0 likes · 5 min read

This guide introduces Casbin, an open‑source access‑control framework, explains its supported languages, core features, installation steps, configuration details, and provides practical code examples for integrating Casbin with PHP Webman projects.
CasbinPHPWebman
0 likes · 7 min read

This guide explains Docker basics, why to use containers, how to pull Tinywan's PHP‑Webman image from GitHub Container Registry, run it on Linux or Windows with proper port and volume mapping, troubleshoot port conflicts, inspect the container, and handle GitHub login if needed.
DockerGitHub Container RegistryLinux
0 likes · 7 min read

This guide introduces Webman, a high‑performance PHP backend framework built on Workerman, explains its core philosophy, lists its key features, and provides step‑by‑step instructions for installing Webman, running it on Windows or Linux, and adding the official Webman‑Admin panel with database configuration.
ComposerPHPWebman
0 likes · 8 min read

This guide explains what Webman is, how to install it, run projects on Windows and Linux, configure a custom HTTP proxy handler, and set up Nginx reverse proxy with HTTPS, providing step‑by‑step commands and code examples for a high‑performance PHP backend.
HTTP ProxyPHPWebman
0 likes · 6 min read

This guide explains Zipkin's architecture, data reporting methods, and step‑by‑step integration with the Webman framework, including middleware implementation, configuration, and visual monitoring on Alibaba Cloud ARMS, enabling developers to trace requests, monitor SQL, and diagnose performance issues in microservice environments.
ARMSAlibabaCloudDistributedTracing
0 likes · 6 min read

Webman is a high‑performance PHP HTTP framework built on Workerman that replaces the php‑fpm model, offering minimal core, extreme speed, easy extensibility, and detailed stress‑testing guidance, making it several times faster than traditional PHP stacks and even comparable Go frameworks.
HTTPPHPWebman
0 likes · 10 min read
