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 sadly onyx sucks though and thats the only format it supports
@bobmagicii I know nothing about it. Just found their use of FFI interesting.
@ramsey yah ffi is super fun to mess with. i had a working OpenAL in it at one point.

@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.