{"library":"php-server","type":"library","category":null,"description":"php-server is a utility that simplifies the process of starting PHP's built-in development web server directly from Node.js applications. It's designed for development environments, not production, and provides an API to control the server, including specifying port, hostname, base directory, and custom PHP configurations like INI directives or a router script. The package is currently at version 3.0.0 and maintains an active release cadence, primarily driven by Node.js version updates. Key differentiators include its simple API for programmatic control, automatic process management, and seamless integration with Node.js development workflows, making it easy to spin up a quick PHP backend for testing or local development without managing separate PHP processes manually. It is a pure ESM package.","language":"javascript","status":"active","version":"3.0.0","tags":["javascript","php","server","webserver","web-server","http","dev","development","typescript"],"install":[{"cmd":"npm install php-server","imports":["import phpServer from 'php-server';","import phpServer, { Options as PhpServerOptions } from 'php-server';","import phpServer, { Server as ServerInstance } from 'php-server';"]},{"cmd":"yarn add php-server","imports":[]},{"cmd":"pnpm add php-server","imports":[]}],"homepage":null,"github":"https://github.com/sindresorhus/php-server","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/php-server","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/php-server/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}