Skip to content
@super-kernel

super-kernel

English | 中文文档

🧩 SuperKernel

PHP Version Swoole 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

Use Composer

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

🧩 Quick Start

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

Building binary executables

skernel build

Building phar archive

skernel build --disable-binary

start server

php target/release/[your project name] 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.
        }
    },
}

🧠 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 17 repositories

Top languages

Loading…

Most used topics

Loading…