A simple raytracer written in PHP based on Ray tracing in one weekend book by Peter Shirley
Here's a simple scene rendered with this engine.
$ git clone https://github.com/phpia/raytracer.git
$ cd raytracer
$ php main.php > image.ppm
Open the image.ppm file in any image editing program like Gimp