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
Simplify IT and security with a single endpoint management platform Icon
Simplify IT and security with a single endpoint management platform

Automate the hardest parts of IT

NinjaOne automates the hardest parts of IT, delivering visibility, security, and control over all endpoints for more than 20,000 customers. The NinjaOne automated endpoint management platform is proven to increase productivity, reduce security risk, and lower costs for IT teams and managed service providers. The company seamlessly integrates with a wide range of IT and security technologies. NinjaOne is obsessed with customer success and provides free and unlimited onboarding, training, and support.
Learn More
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