CodeWithKyrian/transformers-php

Transformers PHP is a toolkit for PHP developers to add machine learning magic to their projects easily.

36
/ 100
Emerging

Leverages ONNX Runtime via PHP FFI to execute pre-trained transformer models from Hugging Face—supporting tasks like sentiment analysis, translation, and text generation—with an API mirroring the Python library for familiar developer experience. Models are automatically cached locally and can be pre-downloaded via CLI; supports converting PyTorch/TensorFlow models to ONNX using Hugging Face Optimum for custom deployments.

743 stars. No commits in the last 6 months.

Stale 6m No Package No Dependents
Maintenance 2 / 25
Adoption 10 / 25
Maturity 9 / 25
Community 15 / 25

How are scores calculated?

Stars

743

Forks

49

Language

PHP

License

Apache-2.0

Category

php-ai-sdks

Last pushed

Sep 15, 2025

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/transformers/CodeWithKyrian/transformers-php"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.