You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
super-kernel
Component-oriented PHP framework for long-running Swoole applications.
SuperKernel is a component-oriented PHP framework for long-running Swoole applications. Each component is an independent Composer package under super-kernel/*, built on native PHP attributes, a PSR-11 container, and standard PSR interfaces.
Note
SuperKernel is in its release candidate stage and has no stable release yet. The components and SKERNEL are released together under one version number as 1.0.0-rc.N pre-releases. The contracts are frozen; only fixes land before 1.0.0. Each repository's main branch is the current development line.
Highlights
Swoole runtime: server startup, main-process supervision, attribute-driven HTTP serving, background processes, and connection pools on ext-swoole.
Build before run: SKERNEL collects a project's packages, classes, and attributes when it builds the project, and the application restores that metadata at start instead of scanning.
Dependency injection: a PSR-11 shared-service container with constructor autowiring, typed lazy configuration, and strict typed environment access.
Aspect-oriented programming: aspect declarations, method weaving, join points, and interceptor dispatch on top of source transformation with hash-validated file proxies.
PSR interoperability: PSR-3 logging, PSR-7 HTTP messages, PSR-11 containers, PSR-14 events, and PSR-15 request handlers and middleware.
Console: a Symfony Console application runtime with lazy command registration.
Requirements
PHP >=8.4.27 <8.5
ext-swoole >=6.2.3 <6.3 for the Swoole-based components: http-server, pool, process, server, skeleton, and swoole
ext-redis >=6.3.0 <6.4 for redis
Linux; some components also require ext-pcntl, ext-posix, or ext-sockets. Each repository's composer.json lists its exact requirements.
Command-line project tool for SuperKernel applications: it creates, runs, builds, and packages a project. Published as a standalone binary through GitHub Releases for Linux and macOS; it needs no PHP.
Documentation
The developer documentation has a getting-started guide, a guide to building and build metadata, and one page per component with complete examples.
Repositories
Each component is published here as an individual repository, and each tool in the super-kernel-tools organization. Repositories here without a current component are archived.
License
Every component and tool is released under the MIT License. AOP and Mimic also include a NOTICE file with their source attribution.
A robust path abstraction layer for the Super-Kernel framework, providing a unified and extensible interface to manage and resolve application-wide paths with consistency.