Skip to content
php-baremetal REGISTRY
Publish a package

php-baremetal/ext-slate

bm-ext MIT

Slate for php-baremetal: a retained-mode 2D scene graph and compositor for display panels, with a software graphics layer. Platform-neutral.

composer.json @ 1.3.0

The metadata this registry serves for the version, as Composer sees it.

json php-baremetal/ext-slate
{
    "name": "php-baremetal/ext-slate",
    "version": "1.3.0",
    "type": "bm-ext",
    "extra": {
        "baremetal": {
            "module": "slate",
            "options": {
                "slate-debug": {
                    "type": "bool",
                    "default": false,
                    "description": "Builds Slate's profiler: frames per second on screen and a line of timings per second on the console."
                },
                "slate-images": {
                    "type": "set",
                    "values": [
                        "png"
                    ],
                    "default": [
                        "png"
                    ],
                    "description": "Image formats decoded on the board; .sli images are always supported."
                },
                "slate-effects": {
                    "type": "set",
                    "values": [
                        "gradients",
                        "shadows",
                        "blur"
                    ],
                    "default": [
                        "gradients",
                        "shadows",
                        "blur"
                    ],
                    "description": "Graphic effects compiled into Slate; an effect left out is not built and the PHP API that uses it throws."
                },
                "slate-controls": {
                    "type": "bool",
                    "default": true,
                    "description": "Builds the theme and the controls (Button, Toggle, Slider, Choice, SettingRow, Dialog, toasts, progress); without them their classes are absent."
                }
            },
            "priority": 120,
            "ide-stubs": [
                "ide/ext-slate.stub"
            ]
        }
    },
    "source": {
        "url": "https://github.com/php-baremetal/ext-slate",
        "type": "git",
        "reference": "v1.3.0"
    },
    "authors": [
        {
            "name": "Gianfrancesco Aurecchia"
        }
    ],
    "license": "MIT",
    "require": {
        "php": ">=8.3",
        "php-baremetal/bm-common": "^1.1",
        "php-baremetal/ext-input": "^1.0",
        "php-baremetal/ext-events": "^1.2",
        "php-baremetal/ext-display": "^1.1"
    },
    "description": "Slate for php-baremetal: a retained-mode 2D scene graph and compositor for display panels, with a software graphics layer. Platform-neutral."
}