PHPackages                             ffi-headers/glfw3-headers - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. ffi-headers/glfw3-headers

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

ffi-headers/glfw3-headers
=========================

PHP FFI GLFW3 Headers

1.0.2(3y ago)11.1k1MITCPHP ^8.1

Since Mar 20Pushed 3y ago1 watchersCompare

[ Source](https://github.com/php-ffi-headers/glfw3-headers)[ Packagist](https://packagist.org/packages/ffi-headers/glfw3-headers)[ RSS](/packages/ffi-headers-glfw3-headers/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (3)Dependencies (4)Versions (4)Used By (0)

 [ ![](https://avatars.githubusercontent.com/u/101121010?s=256) ](https://github.com/php-ffi-headers)

 [![](https://github.com/php-ffi-headers/glfw3-headers/workflows/build/badge.svg)](https://github.com/php-ffi-headers/glfw3-headers/actions) [![](https://camo.githubusercontent.com/6b4bcb88bda4191637c847da70dafa0efc635a9c492d17e9f71ab92d76f46516/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e312e302d6666303134302e737667)](https://packagist.org/packages/ffi-headers/glfw3-headers) [![](https://camo.githubusercontent.com/a883dd593bc43ee958ee6132846c87a9a347755e6a0167ef6f9162d1feab9ab6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f474c4657332d332e332e382d6363336332302e737667)](https://packagist.org/packages/ffi-headers/glfw3-headers) [![Latest Stable Version](https://camo.githubusercontent.com/384e9b81b1f5ae45bab026a40dcb5fcbaeddcf9e4cad6339e5f686b3a4007022/68747470733a2f2f706f7365722e707567782e6f72672f6666692d686561646572732f676c6677332d686561646572732f76657273696f6e)](https://packagist.org/packages/ffi-headers/glfw3-headers) [![Latest Unstable Version](https://camo.githubusercontent.com/499b0309fa9ba83ff1f1b6dceba0af7000faa81172437e1267b837ec4339185f/68747470733a2f2f706f7365722e707567782e6f72672f6666692d686561646572732f676c6677332d686561646572732f762f756e737461626c65)](https://packagist.org/packages/ffi-headers/glfw3-headers) [![Total Downloads](https://camo.githubusercontent.com/dc7e7877ea5c358ecfbd9ca853280816970fd74fff5de9ee1b7f8cd28a92578a/68747470733a2f2f706f7365722e707567782e6f72672f6666692d686561646572732f676c6677332d686561646572732f646f776e6c6f616473)](https://packagist.org/packages/ffi-headers/glfw3-headers) [![License MIT](https://camo.githubusercontent.com/871a273f02db52e8adea0a9de25e5043d3ad3fd4df154c24b478ac12a03667d5/68747470733a2f2f706f7365722e707567782e6f72672f6666692d686561646572732f676c6677332d686561646572732f6c6963656e7365)](https://raw.githubusercontent.com/php-ffi-headers/glfw3-headers/master/LICENSE.md)

GLFW3 Headers
=============

[](#glfw3-headers)

This is a C headers of the [GLFW3](https://www.glfw.org/) adopted for PHP.

Requirements
------------

[](#requirements)

- PHP &gt;= 8.1

Installation
------------

[](#installation)

Library is available as composer repository and can be installed using the following command in a root of your project.

```
$ composer require ffi-headers/glfw3-headers
```

Usage
-----

[](#usage)

```
use FFI\Headers\GLFW3;

$headers = GLFW3::create(
    GLFW3\Platform::X11,  // Window API
    GLFW3\Context::GLX, // Context API
    GLFW3\Version::V3_3_6,      // GLFW Headers Version
);

echo $headers;
```

> Please note that the use of header files is not the latest version:
>
> - Takes time to download and install (This will be done in the background during initialization).
> - May not be compatible with the PHP headers library.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~75 days

Total

3

Last Release

1367d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/150420?v=4)[Ruslan Sharipov](/maintainers/Serafim)[@serafim](https://github.com/serafim)

---

Top Contributors

[![SerafimArts](https://avatars.githubusercontent.com/u/2461257?v=4)](https://github.com/SerafimArts "SerafimArts (44 commits)")

---

Tags

ffiheadersphpunixheaderslinuxwindowsffimacosopenglglfwcVulkanopengl-esglfw3

###  Code Quality

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/ffi-headers-glfw3-headers/health.svg)

```
[![Health](https://phpackages.com/badges/ffi-headers-glfw3-headers/health.svg)](https://phpackages.com/packages/ffi-headers-glfw3-headers)
```

###  Alternatives

[seld/signal-handler

Simple unix signal handler that silently fails where signals are not supported for easy cross-platform development

18271.3M19](/packages/seld-signal-handler)[cocur/background-process

Start processes in the background that continue running when the PHP process exists.

2971.9M12](/packages/cocur-background-process)[jolicode/php-os-helper

Helpers to detect the OS of the machine where PHP is running.

212.8M4](/packages/jolicode-php-os-helper)[serafim/ffi-sdl

SDL FFI bindings for the PHP language

314.6k3](/packages/serafim-ffi-sdl)[devium/processes

This package is used to get a list of running processes on Windows or Unix-like systems, even Darwin

2427.5k](/packages/devium-processes)[lbaey/chromedriver

Utility for installing Chromedriver, whatever platform you are on, for use with Behat

1459.5k1](/packages/lbaey-chromedriver)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
