claviron / sapi
PHP declarations, fail-fast native API fallbacks and a Monolog handler for Claviron's embedded SAPI
Requires
- php: >=8.2
- monolog/monolog: ^3.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
claviron/sapi provides the PHP-side companion to Claviron's embedded SAPI:
native API declarations and fail-fast fallbacks, the Claviron\ PHP types,
and Claviron\Monolog\ClavironHandler for runtime log channels.
composer require claviron/sapi
Composer installs PHP files only. It does not install or compile the native
Claviron host. Native definitions win when the matching host is present;
fallbacks do not emulate runtime services. Use claviron_runtime_available()
for engine presence and claviron_runtime_configured() for prepared host
bindings, not function_exists() after the fallbacks have been loaded.
The framework-independent package does not depend on Laravel. Laravel drivers
and the persistent application adapter are supplied by claviron/laravel.
Source changes belong in the Claviron repository. The standalone Composer repository is a generated distribution, not a second development source. Packagist versions follow its release tags.
License
MIT.