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
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
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