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.
composer require switon/coreRequirements: PHP 8.3+, ext-json
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
MIT.