codewithkyrian/onnxruntime-downloader-plugin

A lightweight composer plugin for `ankane/onnxruntime` package to download the ONNXRuntime binaries for PHP

Installs: 221

Dependents: 0

Suggesters: 0

Security: 0

Stars: 5

Watchers: 1

Forks: 0

Open Issues: 0

Type:composer-plugin

pkg:composer/codewithkyrian/onnxruntime-downloader-plugin

1.1.0 2024-04-04 18:35 UTC

This package is auto-updated.

Last update: 2025-10-04 22:10:07 UTC


README

This is a very simple composer plugin meant to work with the ankane/onnxruntime-php package. It downloads the ONNXRuntime library for the current platform and architecture when the package is installed, and verifies it's presence when the package is updated.

git has a way of downloading the ONNXRuntime library already, but you have to manually trigger it after installing the package. This plugin automates that process.

Installation

composer require codewithkyle/onnxruntime-downloader-plugin

Future Plans

  • Add support for optional configuration options like downloading the GPU version of the library.