From df9d6d3c183d22b1339b29f554e53e91ce2f1a99 Mon Sep 17 00:00:00 2001 From: Todor Nikolov Date: Tue, 3 Feb 2026 20:45:50 +0200 Subject: [PATCH] Added requirements in the documentation and hinting FFI config check --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index a7f9d8d..a9ceeda 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,12 @@ Check out [an example](https://ankane.org/tensorflow-php) [![Build Status](https://github.com/ankane/onnxruntime-php/actions/workflows/build.yml/badge.svg)](https://github.com/ankane/onnxruntime-php/actions) +## Requirements + +This library requires the [PHP FFI extension](https://www.php.net/manual/en/book.ffi.php). + +Ensure that the extension is installed and `ffi.enable` is set to `true` in your `php.ini`. + ## Installation Run: