Search by

octri / spec-auditor

octri

Bindings for the offline Octri Rust Spec Auditor

v0.1.3 2026-10-23 20:27 UTC

This package is auto-updated.

Last update: 2026-11-08 09:41:42 UTC


README

Live demo ยท Score how well an OpenAPI 3.0, 3.1 or 3.2 document will generate SDKs, docs and MCP tools, offline, with Octri's Rust auditor.

composer require octri/spec-auditor
$auditor = new \Octri\Audit\Auditor();
$report = $auditor->audit((object) [
    "input" => (object) ["uri" => "memory://audit/openapi.yaml", "content" => $specText],
]);

The package bundles the native library. Supported platforms: Linux x64 and arm64 (glibc 2.36 or later) and macOS arm64. On other platforms, build liboctri_auditor_ffi from the repository and pass its path to Auditor.

Requires PHP 8.1 or later with the FFI extension enabled (ffi.enable) for the SAPI that runs it.

Requests, reports and the runtime contract are documented in the repository README. Licensed under Apache-2.0; the bundled library's third-party notices ship with the package.