codewithkyrian / onnxruntime-downloader-plugin
A lightweight composer plugin for `ankane/onnxruntime` package to download the ONNXRuntime binaries for PHP
Installs: 213
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 0
Open Issues: 0
Type:composer-plugin
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.