Libftdi PHP extension for talking to FTDI devices.
Please see examples/simple.php
for a basic usage example and examples/Ftdi/UsbDevice.php
for an object oriented approach.
sudo apt-get install libftdi1 libftdi-dev php5-dev
cd /tmp
git clone https://github.com/kaiwa/php_ftdi.git
cd php_ftdi
phpize
./configure
make
sudo make install