Skip to content
php-baremetal REGISTRY
Publish a package

php-baremetal/ext-i2c

bm-ext MIT

Baremetal\I2c\Bus + \Device and the device-driver framework. Drivers are packages registering into the i2c_drivers registry; the platform side is an i2c-hal package.

bus: i2c

composer.json @ 1.1.1

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

json php-baremetal/ext-i2c
{
    "name": "php-baremetal/ext-i2c",
    "version": "1.1.1",
    "type": "bm-ext",
    "extra": {
        "baremetal": {
            "module": "i2c",
            "priority": 100,
            "ide-stubs": [
                "ide/ext-i2c.stub"
            ],
            "registries": {
                "i2c_drivers": {
                    "type": "i2c_driver_desc_t",
                    "header": "i2c_driver_desc.h"
                }
            },
            "board-blocks": [
                "i2c:i2c"
            ]
        }
    },
    "source": {
        "url": "https://github.com/php-baremetal/ext-i2c",
        "type": "git",
        "reference": "v1.1.1"
    },
    "authors": [
        {
            "name": "Gianfrancesco Aurecchia"
        }
    ],
    "license": "MIT",
    "require": {
        "php": ">=8.3",
        "php-baremetal/i2c-hal": "^1.2",
        "php-baremetal/bm-common": "^1.1",
        "php-baremetal/ext-events": "^1.1"
    },
    "description": "Baremetal\\I2c\\Bus + \\Device and the device-driver framework. Drivers are packages registering into the i2c_drivers registry; the platform side is an i2c-hal package."
}