maduser / argon-prophecy
A strict, DI-first and PSR-compliant PHP runtime, for the law-abiding Prophets.
Requires
- maduser/argon-container: ^1.3
- maduser/argon-support: ^1.0
- psr/http-message: ^2.0
- psr/log: ^3.0
Requires (Dev)
- ext-pcntl: *
- ext-posix: *
- dealerdirect/phpcodesniffer-composer-installer: ^1.1
- filp/whoops: ^2.18
- guzzlehttp/guzzle: ^7.9
- illuminate/database: 12.6.*
- monolog/monolog: ^3.9
- phpunit/phpunit: ^11.5
- slevomat/coding-standard: ^8.24
- squizlabs/php_codesniffer: ^4.0
- symfony/var-dumper: ^7.2
- vimeo/psalm: ^6.13
- vlucas/phpdotenv: ^5.6
This package is auto-updated.
Last update: 2026-05-25 12:42:32 UTC
README
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