codewithkyrian / onnxruntime-downloader-plugin
A lightweight composer plugin for `ankane/onnxruntime` package to download the ONNXRuntime binaries for PHP
Package info
github.com/CodeWithKyrian/onnxruntime-downloader-plugin
Type:composer-plugin
pkg:composer/codewithkyrian/onnxruntime-downloader-plugin
1.1.0
2024-04-04 18:35 UTC
Requires
- php: ^8.1
- composer-plugin-api: ^1.1 || ^2.0
- ankane/onnxruntime: *
Requires (Dev)
- composer/composer: ~1.0 || ~2.0
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.