PHPackages                             tasoft/php-spi-extension - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. tasoft/php-spi-extension

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

tasoft/php-spi-extension
========================

A simple SPI extension for PHP to read from and write to the spi bus.

v0.8.0(4y ago)1711MITCPHP &gt;=7.2

Since Mar 31Pushed 4y ago1 watchersCompare

[ Source](https://github.com/tasoftch/php-spi-extension)[ Packagist](https://packagist.org/packages/tasoft/php-spi-extension)[ RSS](/packages/tasoft-php-spi-extension/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (1)

php spi extension
=================

[](#php-spi-extension)

I've created this extension to get access to the spi bus on my raspberry pi.

### Installation

[](#installation)

```
$ cd ~
$ git clone https://github.com/tasoftch/php-spi-extension.git
$ cd php-spi-extension
$ phpize
$ ./configure --enable-php-spi
$ make
$ sudo make install

```

This compiles the source on your machine.
Next find the php.ini file

```
$ php --ini

```

Will list scanned ini files.
Add the following line to that php.ini file: `extension=php_spi`

```
