PHPackages                             microscrap/sdl3-gfx - 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. microscrap/sdl3-gfx

ActiveLibrary

microscrap/sdl3-gfx
===================

SDL3-native Rendering Package for the ScrapyardIO Framework

0.6.0(today)00MITPHPPHP ^8.3

Since Jul 8Pushed todayCompare

[ Source](https://github.com/microscrap/sdl3-gfx)[ Packagist](https://packagist.org/packages/microscrap/sdl3-gfx)[ Docs](https://scrapyard-io.projectsaturnstudios.com)[ RSS](/packages/microscrap-sdl3-gfx/feed)WikiDiscussions 0.6.x Synced today

READMEChangelogDependencies (6)Versions (6)Used By (0)

microscrap/sdl3-gfx
===================

[](#microscrapsdl3-gfx)

[![Latest Version on Packagist](https://camo.githubusercontent.com/6bb38f1911ab811b26239cf19ea62dfd9b1445a106c645163d68c8c574e8b86e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d6963726f73637261702f73646c332d6766782e737667)](https://packagist.org/packages/microscrap/sdl3-gfx)[![License](https://camo.githubusercontent.com/3d6abf036bf9fb69fcffd719257afe78caf182b90bc2680656baa39d3d7c0c13/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6d6963726f73637261702f73646c332d6766782e737667)](LICENSE)

SDL3-native rendering for the ScrapyardIO Framework.

This package registers the `sdl3` framebuffer strategy and the `sdl3` GFX render driver so Fabricate can draw with LibSDL3 instead of (or alongside) `phpdafruit`.

It is the rendering half of the SDL3 desktop stack. For an actual windowed display panel, install [`dept-of-scrapyard-robotics/sdl3-display`](https://packagist.org/packages/dept-of-scrapyard-robotics/sdl3-display).

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

[](#requirements)

- PHP 8.3+
- **ext-sdl3** ^0.5.0 — [php-io-extensions/sdl3](https://github.com/php-io-extensions/sdl3)
- [`microscrap/sdl3`](https://packagist.org/packages/microscrap/sdl3) ^0.5.0
- ScrapyardIO Framework 0.6 (`fabricate/framebuffers`, `fabricate/rendering`, …)

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

[](#installation)

Confirm the extension is loaded:

```
php -m | grep sdl3
```

### Via Composer

[](#via-composer)

```
composer require microscrap/sdl3-gfx
```

Package discovery registers `Microscrap\GFX\SDL3\Providers\SDL3GfxServiceProvider` automatically.

### Via Workshop (recommended in a Scrapyard app)

[](#via-workshop-recommended-in-a-scrapyard-app)

From a ScrapyardIO application:

```
workshop install:gfx --sdl3
```

Or interactively:

```
workshop install:gfx
```

That installs this package (and optional siblings), then can activate SDL3 as the default rendering backend.

What it registers
-----------------

[](#what-it-registers)

Registry keyRoleFramebuffer `sdl3``Sdl3Framebuffer`Renderer `sdl3``SDL3GFXRenderDriver`Typical `config/gfx.php` after activation:

```
return [
    'rendering' => [
        'default' => 'sdl3',
        'engines' => [
            'sdl3' => [],
            // ...
        ],
    ],
];
```

Pair with a windowed display
----------------------------

[](#pair-with-a-windowed-display)

This package alone does not open a desktop window. Once GFX is installed, Workshop exposes:

```
workshop install:sdl3-display
```

That command is **hidden** when `dept-of-scrapyard-robotics/sdl3-display` is already required. When visible, it:

1. `composer require dept-of-scrapyard-robotics/sdl3-display:^0.6.0`
2. Runs `workshop config:sdl3-display` to add a default `windowed.sdl3` entry

Options:

```
workshop install:sdl3-display
workshop install:sdl3-display --force
workshop install:sdl3-display --composer=/path/to/composer
```

Manual wiring (without install:gfx)
-----------------------------------

[](#manual-wiring-without-installgfx)

```
composer require microscrap/sdl3-gfx
php workshop package:discover
```

Then set `config/gfx.php` `rendering.default` to `sdl3` (or keep `phpdafruit` and select `sdl3` per display).

Stack overview
--------------

[](#stack-overview)

```
ext-sdl3
  └── microscrap/sdl3          (bindings)
        └── microscrap/sdl3-gfx          (framebuffer + renderer)  ← this package
              └── dept-of-scrapyard-robotics/sdl3-display  (windowed panel)

```

License
-------

[](#license)

MIT

###  Health Score

39

—

LowBetter than 84% of packages

Maintenance100

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity42

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 ~5 days

Total

5

Last Release

0d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10563160?v=4)[Angel Gonzalez](/maintainers/projectsaturnstudios)[@projectsaturnstudios](https://github.com/projectsaturnstudios)

---

Top Contributors

[![projectsaturnstudios](https://avatars.githubusercontent.com/u/10563160?v=4)](https://github.com/projectsaturnstudios "projectsaturnstudios (6 commits)")

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/microscrap-sdl3-gfx/health.svg)

```
[![Health](https://phpackages.com/badges/microscrap-sdl3-gfx/health.svg)](https://phpackages.com/packages/microscrap-sdl3-gfx)
```

PHPackages © 2026

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