I have made a PHP extension that provides an object oriented interface to the SPI devices. To build the extension, you will need to have php5-dev installed, and the instructions in the README should guide you through the install process. The repository can be found here

The inspiration for this project was to be able to replicate the software used in this project: http://learn.adafruit.com/light-paintin ... i/software in PHP as that is where my skills lie. I hope that this extension will prove useful to other PHP developers working with a Pi out there...

Read on other blog sites / forums that phpize is installed on /usr/bin/ but I'm not able to enter to that folder
As you might see in below terminal there are two folders but I'm not sure how to install it.