Skip to content
Search

Php-node

lastmod 2025-06-01created 2025-06-011 edits

A handler that processes PHP HTTP requests within Node.js

Features

  • A module that runs PHP applications in the same process within a Node.js application, enabling communication between Node.js and PHP without a network connection
    • Makes bidirectional communication, hybrid architectures, and reuse and migration of legacy PHP assets easier
    • This enables a variety of hybrid web app architectures, such as integrating WordPress with a Next.js frontend
  • Supports both asynchronous (handleRequest) and synchronous (handleRequestSync) modes (the synchronous mode blocks the Node.js thread)
  • Supports x64 Linux and x64/arm64 macOS first; some PHP-related system libraries must be installed
  • HTTP objects such as Request/Response/Headers can be created and manipulated directly in Node.js, integrating naturally with PHP applications

See also

Favorite site

author Zer0 sitemap