Skip to content
php-baremetal REGISTRY
Publish a package

php-baremetal/ext-spi

bm-ext MIT

Baremetal\Spi\Bus + \Device and the device-driver framework. Drivers are packages registering into the spi_drivers registry; the platform side is a spi-hal package.

bus: spi

composer.json @ 1.1.0

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

json php-baremetal/ext-spi
{
    "name": "php-baremetal/ext-spi",
    "version": "1.1.0",
    "type": "bm-ext",
    "extra": {
        "baremetal": {
            "module": "spi",
            "priority": 100,
            "ide-stubs": [
                "ide/ext-spi.stub"
            ],
            "registries": {
                "spi_drivers": {
                    "type": "spi_driver_desc_t",
                    "header": "spi_driver_desc.h"
                }
            }
        }
    },
    "source": {
        "url": "https://github.com/php-baremetal/ext-spi",
        "type": "git",
        "reference": "v1.1.0"
    },
    "authors": [
        {
            "name": "Gianfrancesco Aurecchia"
        }
    ],
    "license": "MIT",
    "require": {
        "php": ">=8.3",
        "php-baremetal/spi-hal": "^1.0",
        "php-baremetal/bm-common": "^1.0"
    },
    "description": "Baremetal\\Spi\\Bus + \\Device and the device-driver framework. Drivers are packages registering into the spi_drivers registry; the platform side is a spi-hal package."
}