Pincore 3
Package: pinoox/pincore · Kernel: 3.0 (code 30) · PHP: 8.1+
Pincore 3 is a new kernel generation — the HMVC engine as a standalone Composer package, with split deploy/config layers, smart multi-app routing, baked runtime cache, and 866+ tests in an isolated sandbox. Host platforms keep their own distribution version in {project}/config/pinoox.config.php; the kernel version lives in pincore/config/pincore.config.php.
composer require pinoox/pincore:^3.0
php pinoox version --kernel
php pinoox test platformNew Features
- Standalone package —
pinoox/pincorewith launcher (PINOOX_BASE_PATH), kernel manifest, andminpin/.pinxcompatibility viaPinxVersion::kernel() - Two-layer config — host deploy files in
{project}/config/(version, domain, router, apps) merged with kernel defaults inpincore/config/;SystemConfig+ stubs on first boot - Dual versioning — kernel
3.0vs platform label from host manifest;php pinoox versionshows both - App resolution — domain first, then longest path prefix; wildcard subdomains, shared/dedicated URL bases, query-route mode (
?_pnx=) - App runtime cache — per-app baked cache under
pinker/apps/{package}/cache/(routes, api, boot, twig, graphql);.pinxships pre-built;cache:build/cache:clear - Developer CLI —
app:create(Twig simple mode + Vite stacks), interactivetest/test all,mode:show, Pinx pipeline, Pinker rebuild/status/diff - Test platform — full suite in
pincore/tests/; isolatedTestRuntimeso tests never pollute projectapps/
Changes & Improvements
- v3 path model —
~pincore= framework,~project/~config= deploy layer (replaces mixedsystem/) - External app registry — packages outside
apps/viaapps.config.php - Runtime modes — dev / production / staging / test; per-app overrides in
app.php → runtime - Env aliases —
APP_*,LOG_*,CACHE_*,DB_*wired into kernel config;.envwins over Pinker bake - Pinker overlay — source-newer pruning, legacy cache migration, cache-aware Twig/PinDoc/GraphQL registries
- 866+ passing tests — portal contracts, routing, HTTP, database, installer, theme, cache, config
Fixed
- Test apps (
com_test_*) no longer land in projectapps/ - Config/version reads unified through
SystemConfig,PinxVersion, and path aliases - 50+ regressions after v3 refactor (paths, pinker, router, theme manifest)
minpintied to kernel only; platform version stays host-only- Pinker merge edge cases, stale overrides, corrupted bake recovery
- Stable app engine loading in CLI, tests, and custom
PINOOX_APPS_PATHsetups
Requirements: PHP 8.1+, mysqli, zip, Composer 2.x