iggyvolz / phpsfml
PHP bindings for SFML
dev-main
2024-08-17 00:11 UTC
Requires
- php: ^8.2
- ext-ffi: *
- ext-mbstring: *
- iggyvolz/simple-attribute-reflection: ^1.0
Requires (Dev)
- league/event: ^3.0
- nette/tester: ^2
This package is auto-updated.
Last update: 2024-11-17 00:40:10 UTC
README
Bindings of SFML for PHP using FFI (no custom extensions needed!).
How to use
- Obtain the CSFML binaries for your platform (https://github.com/SFML/CSFML)
- Create an SFML object with the path of the appropriate
.so
(Linux),.dylib
(Mac) or.dll
(Windows) library files - Call functions and have fun! Make sure to stay away from
@internal
stuff - there bedemonsimplementation details!