Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I control hardware via PHP Language?

Tags:

php

hardware

I wondered if I can use PHP to control an external hardware connected with the parallel port or USB port ? any ideas or resources ?

like image 207
Waseem Avatar asked Mar 22 '10 12:03

Waseem


1 Answers

This is a useful class for serial attatched devices on Linux: PHP Serial

Serial ports are often used to communicate with peripheral devices, such as: modems, POS terminals, special printers, etc..

This class can be used to communicate and configure peripherals connected to a serial port under Linux, simplifying the development of applications that need access serial devices.

like image 193
Andy Avatar answered Oct 12 '22 23:10

Andy