Skip to content
@super-kernel

super-kernel

English | 中文文档

SuperKernel

PHP Version Swoole Platform License Code Style Made with Love


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.


🚀 Design Philosophy

  1. Zero Environment Setup – Run instantly without complex installation.
  2. Auto Boot Lifecycle – Framework-managed startup and shutdown.
  3. Native AOP Support – Elegant aspect-oriented design.
  4. Swoole-Centric – Embrace async, coroutine, and concurrency.
  5. Multi-Protocol Support – Unified abstraction for HTTP, WebSocket, TCP, and UDP.
  6. PSR-Based Components – Replaceable, extensible, and standalone.
  7. Strongly Typed Configurations – Clarity and strict validation.

⚙️ Installation

Composer

If your system does not yet have PHP installed, you can go to 👉 wheakerd/skernel - Releases to download the executable Composer binary (no PHP environment required).

Skernel

Visit the Skernel repository to learn how to download, install, and use this build tool.

Installing SuperKernel

Create a brand new SuperKernel project using Composer:

composer create-project super-kernel/super-kernel-skeleton

🧩 Quick Start

Configuring the skernel tool

{
    "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.
        }
    }
}
skernel build \
&& chmod +x target/release/bin \
&& target/release/bin start
  • If a build artifact name was defined, run it with the actual artifact.

🧠 Architecture Overview

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

📦 Current Progress

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

⚠️ Note: This project is still under development. If using this for production, please ensure you have advanced PHP and Swoole development experience.

🧭 Roadmap

  • Improved testing system
  • Plug-in extension system
  • Multi-service coordinated scheduling
  • AOP scanner optimization
  • Improved official documentation and examples

📜 License

This project is open source under the MIT License.

💬 To Developers

SuperKernel is not just a framework, but a philosophy: "Return PHP to systems programming and explore the limits of the language."

Popular repositories Loading

  1. di di Public

    This component is used to manage class dependencies and complete automatic injection.

    PHP

  2. contract contract Public

    This is a component library that must follow the standard contract.

    PHP

  3. context context Public

    PHP

  4. .github .github Public

  5. config config Public

    PHP

  6. support support Public

    PHP

Repositories

Showing 10 of 21 repositories

Top languages

Loading…

Most used topics

Loading…