core.backend — Environment & Config
core.backend — Environment & Config
Environment Variables
None. core.backend is a pure library — it reads no env vars and loads no
.env files. All configuration is passed explicitly via constructor/method arguments.Secrets
None stored. The package contains no credentials. The private GitHub repo access is handled by the server's SSH deploy key (configured in Plesk/GitHub), not by anything in this package.
Config Files
| File | Purpose |
composer.json | Package definition, autoload rules |
composer.json (full reference)
{
"name": "unvrsl/core-backend",
"description": "Shared assets and reusable PHP helpers for the UNVRSL ecosystem",
"type": "library",
"license": "proprietary",
"require": { "php": ">=8.1" },
"autoload": {
"psr-4": { "UNVRSL\\Core\\": "src/" },
"files": [ "bootstrap/init.php" ]
}
}Note: the
files autoload includes bootstrap/init.php on every request — currently an empty file, so it loads nothing. Decide its purpose or remove it (see L3 roadmap).Runtime Config (DocumentShell)
DocumentShell's only config is its constructor array — notably
assetDomain (default https://core.assets.medkronos.com). See DocumentShell file doc.