Search by

claviron / sapi

iadev09claviron

PHP declarations, fail-fast native API fallbacks and a Monolog handler for Claviron's embedded SAPI

v0.1.1 2026-10-18 23:48 UTC

This package is auto-updated.

Last update: 2026-10-18 23:51:35 UTC


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.