I wanted to create a very simple server for the Gemini protocol - I'll be using it to teach socket programming.
See https://opensource.glasgow.social/gemini-php for more details.
The server has a home page on the geminisphere at gemini://glasgow.social/gemini-php
git clone https://coding.openguide.co.uk/git/gemini-php/
See also Gemini