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

License: PHP

Latest releases

Version Release Download
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
2.1.0 2018-09-22 sdl-2.1.0.tgz
Show all releases


Version Message
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)
2.1.0 - Code updated to support PHP7.
- Code that could be implemented in userland was removed from the extension.
- Unit tests improvements/changes.
Show complete changelog