Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gabrielrcouto/awesome-php-ffi
PHP FFI examples and use cases
https://github.com/gabrielrcouto/awesome-php-ffi
List: awesome-php-ffi
awesome ffi php74
Last synced: 2 months ago
JSON representation
PHP FFI examples and use cases
- Host: GitHub
- URL: https://github.com/gabrielrcouto/awesome-php-ffi
- Owner: gabrielrcouto
- Created: 2019-10-01T02:45:17.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-01-16T17:35:37.000Z (almost 3 years ago)
- Last Synced: 2024-05-22T14:05:57.091Z (7 months ago)
- Topics: awesome, ffi, php74
- Language: C
- Homepage:
- Size: 30.3 KB
- Stars: 291
- Watchers: 20
- Forks: 22
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-hacking-lists - gabrielrcouto/awesome-php-ffi - PHP FFI examples and use cases (C)
README
# Awesome PHP FFI
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat)](http://gabrielrcouto.mit-license.org/)
This is a repository showing some use cases of [PHP FFI](https://wiki.php.net/rfc/ffi).
Examples in this repository:
- [Game Boy Emulator](gameboy)
- [Game Boy Emulator with SDL2 rendering](gameboy-sdl)
- [GTK3 window with a button](gtk3)
- [Calling a function from .class Java file](java-itaucripto)
- [Modifying the PHP Core to auto inject PHP Open Tag](php-plus)
- [Simple printf example](printf)
- [Creating window and rendering pixels with SDL2](sdl)
- [SNES Emulator](snes)
- [SNES Emulator with SDL2 rendering](snes-sdl)
- [text-to-speech using Mac library](speech)Other repositories about PHP FFI:
- [DBus access via FFI and PHP 7.4 POC](https://github.com/paxal/php-dbus)
- [Driving webview using PHP 7.4 FFI](https://github.com/andyvanee/php-webview-ffi)
- [PHP wrapper for libsass using FFI](https://github.com/shyim/php-sass)
- [PHP TensorFlow Binding](https://github.com/dstogov/php-tensorflow)
- [FFIMe](https://github.com/ircmaxell/FFIMe)
- [A compiler. For PHP](https://github.com/ircmaxell/php-compiler)
- [PHP Webcam](https://github.com/vdechenaux/PhpWebcam)
- [Pure PHP Kafka Client library based on php7.4-dev, ffi and librdkafka](https://github.com/dirx/php-ffi-librdkafka)
- [PHP OpenGL (SDL) Demo](https://github.com/SerafimArts/opengl-demo)
- [SDL Image bindings for PHP](https://github.com/SerafimArts/ffi-sdl-ttf)
- [PHP-IUP Gui ToolKit using FFI](https://github.com/ghostjat/php-iup)
- [Shooter game written using PHP 7.4 FFI](https://github.com/darkin1/PhpShooter)PHP FFI tricks:
- [Non blocking stin on Windows](https://gist.github.com/Nek-/118cc36d0d075febf614c53a48470490)