frankenphp

Configure FrankenPHP server with persistent worker processes for PHP frameworks.

40|7|Updated Oct 20, 2025
One-click install
npx skills add https://github.com/rawveg/skillsforge-marketplace --skill frankenphp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: frankenphp
Source: https://github.com/rawveg/skillsforge-marketplace/tree/main/frankenphp
Command: npx skills add https://github.com/rawveg/skillsforge-marketplace --skill frankenphp

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill covers FrankenPHP, a modern PHP app server built on Caddy, enabling persistent worker mode and real-time capabilities.

Core Features & Use Cases

  • Worker mode: Run PHP with persistent workers for faster request handling.
  • Docker deployment: Containerized setups for consistent environments.
  • Mercure real-time: Real-time updates via Mercure integration.

Quick Start

Install FrankenPHP and run a basic PHP server, then switch to worker mode for improved performance.

Frequently Asked Questions about frankenphp

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run PHP with persistent worker processes using FrankenPHP?

FrankenPHP is a PHP app server built on Caddy that enables persistent worker mode, allowing PHP processes to handle multiple requests without restarting between them. Enable worker mode in your FrankenPHP configuration to achieve faster request handling and reduced startup overhead compared to traditional PHP-FPM setups.

Can I deploy FrankenPHP in Docker?

Yes, FrankenPHP supports containerized deployment in Docker. Use official or community Docker images to run FrankenPHP in isolated environments, ensuring consistent configuration across development, staging, and production while leveraging Docker's networking and orchestration capabilities.

Does FrankenPHP work with Laravel and Symfony?

FrankenPHP integrates with Laravel Octane and Symfony runtime, allowing these frameworks to run in persistent worker mode. This integration reduces application startup time and enables long-lived connections, improving performance for both frameworks without code changes.

How do I add real-time capabilities to my PHP application with FrankenPHP?

FrankenPHP supports Mercure integration for real-time updates, enabling server-to-client push notifications and live data synchronization. Configure Mercure within FrankenPHP to broadcast events without polling, providing efficient real-time communication for modern PHP applications.

What protocols and features does FrankenPHP support?

FrankenPHP built on Caddy supports automatic HTTPS, HTTP/2, and HTTP/3 out of the box. It handles TLS certificate provisioning and protocol negotiation automatically, simplifying deployment of modern web standards without manual configuration.

Can I use FrankenPHP with file watching and debugging in development?

FrankenPHP includes file watching and performance optimization debugging tools for development environments. Monitor code changes during development and profile persistent worker processes to identify bottlenecks and verify application behavior in worker mode before production deployment.