awesome-repositories.com
Blog
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
php avatar

php/frankenphp

0
View on GitHub↗
11,151 stars·461 forks·Go·MIT·4 vuesfrankenphp.dev↗

Frankenphp

FrankenPHP is a Go-based PHP runtime and application server that integrates a web server and PHP interpreter to host applications without requiring a separate process manager. It functions as a worker mode server that keeps applications in memory across requests to eliminate bootstrap overhead and a static binary bundler that packages applications and the server into a single self-contained executable.

The project distinguishes itself by allowing the embedding of a PHP runtime directly into Go programs and enabling the development of PHP extensions using the Go language. It also includes a built-in real-time hub for pushing updates to clients via the Mercure protocol.

The server covers a broad range of operational capabilities, including worker thread scaling, request routing, and the delivery of early hint responses for asset preloading. It provides developer experience tools for automated hot reloading and worker restarts, alongside observability features such as thread state inspection and Prometheus metrics exposure.

Deployment is supported through container image building and the compilation of standalone static binaries using musl libc.

Features

  • PHP Application Servers - Functions as a high-performance application server that integrates a PHP runtime to serve applications over HTTP.
  • In-Memory Worker Runtimes - Keeps applications bootloaded in memory across multiple requests to eliminate bootstrap overhead.
  • Static Binaries - Compiles the server and PHP application into a single standalone executable using musl libc.
  • Static Binary Compilers - Compiles the application server into a standalone static binary using musl libc.
  • Binary Bundlers - Packages the server and application source into a single standalone executable.
  • Self-Contained Deployments - Bundles a PHP application and its server into a single binary for simplified installation and distribution.
  • Runtime Embedding - Integrates a PHP interpreter into a Go application to serve requests via a native server API.
  • Cross-Language Runtime Integration - Embeds a PHP runtime directly into Go programs and enables PHP extension development using the Go language.
  • Go-Based Language Runtimes - Provides a PHP runtime implemented in Go that allows embedding and extension development.
  • Go-Language Extensions - Enables the creation of new PHP extensions using the Go programming language.
  • Worker Mode Runtimes - Maintains application state in memory across requests to eliminate bootstrap overhead.
  • Standalone Runtime Bundling - Packages the PHP application and the full runtime into a single executable for dependency-free distribution.
  • Request Dispatchers - Routes incoming HTTP requests to registered persistent worker threads for high-performance PHP execution.
  • Runtime Parameter Tuning - Allows fine-tuning of execution threads, request timeouts, and PHP ini settings.
  • Development Iteration Workflows - Provides a rapid iteration loop with automatic server restarts and hot reloading of source files.
  • Hot Code Reloading - Monitors filesystem changes to automatically restart worker threads and refresh application state.
  • Thread-Local Isolation - Isolates environment variables per thread to ensure request-specific configuration and prevent race conditions.
  • Thread Scaling - Adjusts the number of active worker threads based on load to optimize resource usage.
  • Dedicated Worker Routing - Maps incoming request path patterns to dedicated worker scripts to handle different application segments.
  • Application Binary Embedding - Bundles PHP applications directly into the server binary for self-contained deployment.
  • Real-time Notification Broadcasters - Sends real-time data updates to specific topics via a hub for instant client notifications.
  • Mercure Hub Integrations - Integrates a built-in hub for pushing real-time updates to clients via the Mercure protocol.
  • Language Memory Bridges - Implements memory bridges to translate complex data types like associative arrays between Go and PHP representations.
  • Thread Local Storage - Isolates environment variables on a per-thread basis to prevent race conditions during concurrent requests.
  • PHP Extension Bindings - Provides the ability to load and register external PHP modules to extend the server runtime functionality.
  • Cross-Language Type Translation - Translates complex data types like associative arrays and strings between Go and PHP memory representations.
  • Early Hints Implementations - Sends 103 Early Hints status codes to browsers for asset preloading while the server continues processing.
  • Real-Time Communication - Includes a built-in hub that supports pushing real-time updates to clients via the Mercure protocol.
  • Real-Time Data Streaming - Facilitates real-time data streaming between the server and clients for instant communication.
  • Extension-Based Filtering - Matches incoming requests against specific file extensions and path patterns to determine server processing logic.
  • Path-Based Routers - Provides path-based routing to direct traffic to specific PHP worker scripts based on URL path prefixes.
  • Automatic Process Restarters - Automatically restarts worker threads when source file changes are detected to speed up development.

Historique des stars

Graphique de l'historique des stars pour php/frankenphpGraphique de l'historique des stars pour php/frankenphp

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Alternatives open source à Frankenphp

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Frankenphp.
  • dunglas/frankenphpAvatar de dunglas

    dunglas/frankenphp

    11,156Voir sur GitHub↗

    FrankenPHP is a high-performance application server and runtime for PHP. It functions as a web server that executes PHP scripts and delivers web content, incorporating a binary bundler to package applications and their dependencies into standalone executable files. The project integrates the PHP interpreter directly into the Caddy web server to provide automatic HTTPS and flexible site configuration. It features a worker mode runtime that keeps applications bootloaded in memory across requests to eliminate bootstrap overhead and increase throughput. Additionally, it serves as a communication

    Go
    Voir sur GitHub↗11,156
  • hhxsv5/laravel-sAvatar de hhxsv5

    hhxsv5/laravel-s

    3,882Voir sur GitHub↗

    This project is a high-performance PHP application server designed to keep applications resident in memory, eliminating the bootstrap overhead typically associated with each request. It functions as a multi-protocol network server capable of handling HTTP, WebSocket, TCP, and UDP traffic simultaneously within a single instance. The system is distinguished by an event-driven worker pool and a high-precision task scheduler that executes recurring background jobs at millisecond intervals. It utilizes a shared memory state store for high-speed data access across worker processes and incorporates

    PHP
    Voir sur GitHub↗3,882
  • roadrunner-server/roadrunnerAvatar de roadrunner-server

    roadrunner-server/roadrunner

    8,473Voir sur GitHub↗

    RoadRunner is a high-performance application server and process manager designed to serve PHP applications using a persistent worker model. It eliminates bootload overhead and initialization time by keeping application processes alive between requests, acting as a protocol-agnostic proxy that routes traffic to a pool of supervised workers. The server is built with a plugin-based modular architecture, allowing it to be extended with custom Go plugins and compiled into tailored binaries. It distinguishes itself by providing a unified execution model for a wide array of communication protocols,

    Goapplication-servergolanghacktoberfest
    Voir sur GitHub↗8,473
  • neuecc/magiconionAvatar de neuecc

    neuecc/MagicOnion

    4,408Voir sur GitHub↗

    MagicOnion is a remote procedure call framework for the .NET platform and Unity. It functions as a binary API protocol and real-time communication engine that uses shared interfaces to provide type-safe communication between clients and servers. The framework distinguishes itself through its compatibility with ahead-of-time compilation environments, utilizing source generators for client proxies and serialization to support mobile and console platforms including those using IL2CPP. It provides a specialized middleware layer for Unity that handles engine-specific data types and ensures runtime

    C#
    Voir sur GitHub↗4,408
Voir les 30 alternatives à Frankenphp→

Questions fréquentes

Que fait php/frankenphp ?

FrankenPHP is a Go-based PHP runtime and application server that integrates a web server and PHP interpreter to host applications without requiring a separate process manager. It functions as a worker mode server that keeps applications in memory across requests to eliminate bootstrap overhead and a static binary bundler that packages applications and the server into a single self-contained executable.

Quelles sont les fonctionnalités principales de php/frankenphp ?

Les fonctionnalités principales de php/frankenphp sont : PHP Application Servers, In-Memory Worker Runtimes, Static Binaries, Static Binary Compilers, Binary Bundlers, Self-Contained Deployments, Runtime Embedding, Cross-Language Runtime Integration.

Quelles sont les alternatives open-source à php/frankenphp ?

Les alternatives open-source à php/frankenphp incluent : dunglas/frankenphp — FrankenPHP is a high-performance application server and runtime for PHP. It functions as a web server that executes… hhxsv5/laravel-s — This project is a high-performance PHP application server designed to keep applications resident in memory,… roadrunner-server/roadrunner — RoadRunner is a high-performance application server and process manager designed to serve PHP applications using a… neuecc/magiconion — MagicOnion is a remote procedure call framework for the .NET platform and Unity. It functions as a binary API protocol… gotify/server — Gotify is a self-hosted notification server designed to centralize the receipt and dispatch of real-time messages. It… php-pm/php-pm — This project is a PHP application server and process manager designed to reduce request latency by keeping…