Skip to content
php-baremetal REGISTRY
Publish a package

php-baremetal/ext-events

bm-ext MIT

Event bus: events, listeners, timer, pin and button sources. Core, every firmware requires it.

composer.json @ 1.2.0

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

json php-baremetal/ext-events
{
    "name": "php-baremetal/ext-events",
    "version": "1.2.0",
    "type": "bm-ext",
    "extra": {
        "baremetal": {
            "module": "events",
            "options": {
                "events-large": {
                    "max": 65535,
                    "min": 0,
                    "type": "int",
                    "default": 8,
                    "description": "Large event slots (2 KB each, allocated at boot), for events with a large payload."
                },
                "events-small": {
                    "max": 65535,
                    "min": 8,
                    "type": "int",
                    "default": 64,
                    "description": "Small event slots (32 bytes each, allocated at boot): every queued event, dispatch() event, HTTP request and WebSocket frame takes one; 4 more are kept for object releases."
                },
                "events-medium": {
                    "max": 65535,
                    "min": 0,
                    "type": "int",
                    "default": 16,
                    "description": "Medium event slots (256 bytes each, allocated at boot), for events with a payload."
                }
            },
            "priority": 10,
            "ide-stubs": [
                "ide/ext-events.stub"
            ],
            "idf-requires": [
                "phpbm"
            ]
        }
    },
    "source": {
        "url": "https://github.com/php-baremetal/ext-events",
        "type": "git",
        "reference": "v1.2.0"
    },
    "authors": [
        {
            "name": "Gianfrancesco Aurecchia"
        }
    ],
    "license": "MIT",
    "require": {
        "php": ">=8.3",
        "php-baremetal/events-hal": "^1.5"
    },
    "description": "Event bus: events, listeners, timer, pin and button sources. Core, every firmware requires it."
}