php-glfw brings the GLFW library to the PHP language, enabling native GUI and OpenGL windowing capabilities directly from PHP scripts. This experimental extension allows developers to create real-time graphical applications, games, and simulations in PHP—traditionally a backend web language—by binding low-level graphics and windowing APIs. It opens creative possibilities for developers more comfortable in PHP or looking to prototype desktop applications with web-style syntax. It’s ideal for educational purposes, quick prototyping, or just for fun.

Features

  • Native PHP bindings for GLFW functionality
  • Create OpenGL windows and render in real time
  • Access to input devices like mouse, keyboard, and joystick
  • Supports multi-window rendering and OpenGL contexts
  • Event handling and rendering loop control in PHP
  • Compatible with modern versions of PHP via extension
  • Enable cross-platform GUI development in a web-focused language
  • Easy to install with Docker-based setup options
  • Useful for game prototyping and graphics experimentation in PHP

Project Samples

Project Activity

See All Activity >

Categories

Graphics

License

MIT License

Follow PHP-GLFW

PHP-GLFW Web Site

Other Useful Business Software
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime Icon
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime

General-purpose, compute-optimized, or GPU/TPU-accelerated. Built to your exact specs.

Live migration and automatic failover keep workloads online through maintenance. One free e2-micro VM every month.
Try Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of PHP-GLFW!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

C

Related Categories

C Graphics Software

Registered

2025-03-27