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
qto quituto undo (remove last added cube)1or2to alternate between brown (wood) and green (grass) materials.