switon/kernel

Application bootstrap and provider lifecycle for Switon Framework

Maintainers

Package info

github.com/switon-php/kernel

Documentation

pkg:composer/switon/kernel

Statistics

Installs: 28

Dependents: 5

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.0 2026-05-10 03:22 UTC

This package is auto-updated.

Last update: 2026-05-10 03:28:14 UTC


README

Application bootstrap and provider lifecycle for Switon Framework.

Installation

composer require switon/kernel

Requirements: PHP 8.3+

Quick Start

use Switon\Kernel\Kernel;

class AppKernel extends Kernel
{
    public function start(): void
    {
        parent::start();
        // Attach HTTP server, CLI loop, worker, etc.
    }
}

(new AppKernel(__DIR__))->start();

Docs: https://docs.switon.dev/latest/kernel

License

MIT.