This project’s use of the FFI extension in PHP is pretty fascinating.

https://github.com/CodeWithKyrian/transformers-php

#PHP

GitHub - CodeWithKyrian/transformers-php: Transformers PHP is a toolkit for PHP developers to add machine learning magic to their projects easily.

Transformers PHP is a toolkit for PHP developers to add machine learning magic to their projects easily. - GitHub - CodeWithKyrian/transformers-php: Transformers PHP is a toolkit for PHP developer...

GitHub

@ramsey do you know this project ?

https://github.com/lisachenko/z-engine

It allows to interact with ZEngine from PHP itself, then to write a PHP extension… in PHP! 🤯
Not sure if I would use it in production, but definitely an incredible usage of FFI 🙂

GitHub - lisachenko/z-engine: :zap: PHP Engine Direct API

:zap: PHP Engine Direct API. Contribute to lisachenko/z-engine development by creating an account on GitHub.

GitHub
@b_viguier I’ve not seen that, but it looks pretty cool.