switon/core

Core contracts, attributes, and runtime utilities for Switon Framework

Maintainers

Package info

github.com/switon-php/core

Documentation

pkg:composer/switon/core

Statistics

Installs: 105

Dependents: 49

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.0 2026-05-10 00:37 UTC

This package is auto-updated.

Last update: 2026-05-10 00:48:54 UTC


README

Core contracts, runtime utilities, and shared helpers for Switon Framework. Some published interfaces are cross-package protocols used by multiple components; see the published docs for the boundary map.

Installation

composer require switon/core

Requirements: PHP 8.3+, ext-json

Quick Start

use Switon\Core\Json;

$config = Json::parse('{"app":"demo","debug":true}');
$config['debug'] = false;

echo Json::stringify($config, JSON_PRETTY_PRINT);

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

License

MIT.