A proof of concept to show how PHP and OpenGL can be used to write a Minecraft like game.
- PHP 8.1
- Composer
- PHP-SDL
- PHP-OpenGL
composer install
php main.php
- Click to add cubes
q
to quitu
to undo (remove last added cube)1
or2
to alternate between brown (wood) and green (grass) materials.