maduser/argon-prophecy

A strict, DI-first and PSR-compliant PHP runtime, for the law-abiding Prophets.

Maintainers

Package info

github.com/judus/argon-prophecy

pkg:composer/maduser/argon-prophecy

Statistics

Installs: 58

Dependents: 3

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.2 2026-05-24 14:29 UTC

This package is auto-updated.

Last update: 2026-05-25 12:42:32 UTC


README

PHP Build codecov Psalm Level Latest Version Downloads License: MIT

maduser/argon-prophecy is the small runtime switchboard for Argon applications. It boots an ArgonContainer, runs the registered service providers, resolves the active application handler, and delegates execution to the HTTP or CLI kernel that the application registered.

Installation

composer require maduser/argon-prophecy

Runtime Entry Point

use Maduser\Argon\Container\ArgonContainer;
use Maduser\Argon\Prophecy\Argon;

Argon::prophecy(static function (ArgonContainer $container): void {
    $container->register(AppServiceProvider::class);
});

For tests or advanced runtimes, Argon::boot(), Argon::process(), Argon::emit(), and Argon::reset() expose the lifecycle in smaller steps.

Container Compilation

Prophecy can load or generate a compiled container when compilation is enabled. The compile file path, class name, and namespace are explicit runtime configuration, not guessed paths.

Scope

Prophecy does not define routes, middleware, message factories, exception formatters, or console commands. It coordinates the packages that provide those pieces.

Quality Gate

composer check