Bindings of the SDL2 (Simple DirectMedia Layer) library for PHP.

License: PHP

Latest releases

Version Release Download
2.5.0 2021-06-18 sdl-2.5.0.tgz
2.4.0 2020-08-23 sdl-2.4.0.tgz
2.3.0 2019-09-08 sdl-2.3.0.tgz
2.2.2 2019-09-02 sdl-2.2.2.tgz
2.2.0 2019-08-28 sdl-2.2.0.tgz
Show all releases


Version Message
2.5.0 - Add support for PHP8 (Manuel Baldassarri)
- Remove support for PHP7 (Manuel Baldassarri)
2.4.0 - Fix duplicate symbols (remicollet)
- Fix parameters passed by reference in rect module (kea)
- Port SDL_Palette and SDL_PixelFormat to PHP7 (kea)
- Fix surface props initialisation (kea)
- Fix surface and powerinfo params by ref (kea)
- Fix SDL_Rect inheritance issue (santiagolizardo)
- Add SQL_QueryTexture binding (kea)
2.3.0 - Fix out of bounds error (remicollet)
- Add basic joystick/gamepad support (santiagolizardo)
2.2.2 - Fix undefined symbol (sdl_window_to_zval)
- Tidy up GL context creation
2.2.0 - Add support for window events. (Benoit Viguier)
- Add support for the SDL_RenderCopyEx, SDL_RenderDrawLine and SDL_RenderDrawRect functions. (Benoit Viguier)
- Fix memory leak in the SDL_RenderCopy function. (Benoit Viguier)
Show complete changelog