CodeWithKyrian/transformers-php
A PHP library that brings Hugging Face transformer models (LLMs, text generation, translation) to PHP applications via ONNX Runtime.

Not currently ranked — collecting fresh signals.
star history
TransformersPHP provides PHP developers with access to thousands of pre-trained transformer models from Hugging Face for tasks including text generation, summarization, and translation. The library mirrors the API of the Python Transformers library while running models through ONNX Runtime, a high-performance inference engine. Users can convert PyTorch or TensorFlow models to ONNX format and run them within PHP applications.
Frequently asked
- What is CodeWithKyrian/transformers-php?
- A PHP library that brings Hugging Face transformer models (LLMs, text generation, translation) to PHP applications via ONNX Runtime.
- Is transformers-php open source?
- Yes — CodeWithKyrian/transformers-php is open source, released under the Apache-2.0 license.
- What language is transformers-php written in?
- CodeWithKyrian/transformers-php is primarily written in PHP.
- How popular is transformers-php?
- CodeWithKyrian/transformers-php has 758 stars on GitHub.
- Where can I find transformers-php?
- CodeWithKyrian/transformers-php is on GitHub at https://github.com/CodeWithKyrian/transformers-php.