php-ext.com / sdl (from dev using PHP 7.3.28-buster)

Dockerfile
FROM php:7.3.28-buster
WORKDIR /tmp
RUN apt update && \
    apt install -y --no-install-recommends git subversion autoconf build-essential && \
    apt install -y --no-install-recommends libsdl2-dev && \
    rm -rf /var/lib/apt/lists/*
RUN git clone --recursive --depth=1 https://github.com/Ponup/php-sdl /tmp/ext-src && \
    cd /tmp/ext-src && \
    phpize && \
    ./configure --enable--sdl && \
    make && \
    make test
Build output SKIP 1ss
This extension requires PHP 7.4.0 or later.