Search by

kongono / core

anthonyiovanna

Kongono v1 persistent-runtime kernel, PSR-11 DI container, typed config, EnvLoader, EnvExampleGenerator, nondisclosing SecretScrubber diagnostics, pure-PHP caches (Memory/File/Redis), Fiber Async, events, and ApplicationGraph.

v1.25.0 2026-11-26 18:20 UTC

This package is auto-updated.

Last update: 2026-11-30 04:43:12 UTC


README

Read-only subtree split of kongono/framework. Open issues and pull requests in the main monorepo.

Zero-legacy PHP 8.5.13+ persistent-runtime kernel, PSR-11 DI container, RFC 9562 Id\Uuid (Uuid::v7() / Uuid::v4()), typed Config, EnvLoader, project-aware nondisclosing EnvExampleGenerator, SecretScrubber diagnostics, pure-PHP caches (MemoryCache, FileCache, RedisClient + RedisCache), Fiber Async, FeatureManager, Retry/CircuitBreaker, Metrics/Tracer, and ApplicationGraph — depending only on 3 PSR interface packages.

Installation

composer require kongono/core

Example

<?php

declare(strict_types=1);

use Kongono\Core\Cache\MemoryCache;
use Kongono\Core\Config;
use Kongono\Core\Diagnostics\SecretScrubber;
use Kongono\Core\EnvLoader;

EnvLoader::load(__DIR__ . '/.env');

$cache = new MemoryCache();
$cache->set('greeting', 'hello', 60);

$safe = SecretScrubber::scrub('Authorization: Bearer secret-token-123');
// "Authorization: Bearer [REDACTED]"

Documentation & License