English | 中文文档
SuperKernel is a modern PHP framework powered by the Swoole extension.
All components of the framework adhere to the PSR specification and provide flexible component replacement and extensibility through the DI container and Skernel toolkit.
We are committed to exploring the future possibilities of PHP in high performance and system programming.
- Zero Environment Setup – Run instantly without complex installation.
- Auto Boot Lifecycle – Framework-managed startup and shutdown.
- Native AOP Support – Elegant aspect-oriented design.
- Swoole-Centric – Embrace async, coroutine, and concurrency.
- Multi-Protocol Support – Unified abstraction for HTTP, WebSocket, TCP, and UDP.
- PSR-Based Components – Replaceable, extensible, and standalone.
- Strongly Typed Configurations – Clarity and strict validation.
Use Composer:
composer create-project super-kernel/super-kernel-skeleton
curl -s https://github.com/api/repos/wheakerd/skernel/releases/latest | jq -r '.assets[] | select(.name | test("skernel$")) | .browser_download_url' | xargs -I {} curl -sL {} | sudo tee /usr/bin/skernel > /dev/null && sudo chmod 755 /usr/bin/skernel
skernel build
skernel build --disable-binary
php target/release/[your project name] start
{
"description": "Project template for the SuperKernel framework.",
"type": "project",
"license": "MIT",
"extra": {
"skernel": {
"name": "skernel" // The name selected during the build, `bin` is used by default.
}
},
}
SuperKernel
├── Skernel Tools # Tool and runtime support, aspect programming and class scanning mechanism
├── DI Container # Definers, Resolvers, Lazy Instance Storage
├── Server Components # HTTP/WebSocket/TCP and other service modules
├── Event Dispatcher # Lifecycle and event system
├── PSR-Compatible # PSR-3, PSR-7, PSR-11, PSR-15, PSR-17
SuperKernel has implemented core operational mechanisms, including:
- Container definition source and resolver factory system
- Lifecycle scheduler and custom process mechanism
- Automatic component registration and service manager
- Class map generation
- Improved testing system
- Plug-in extension system
- Multi-service coordinated scheduling
- AOP scanner optimization
- Improved official documentation and examples
This project is open source under the MIT License.
SuperKernel is not just a framework, but a philosophy: "Return PHP to systems programming and explore the limits of the language."