In-House Point of Sale system Question

Hi all,

I am developing a in-house phyiscall ecommerce system which interacts with taking person’s credit card and eftpos/debit cards and making payments but is it possible to find things like barcode scanners,cash draws,eftpos terminals all with usb plugs so my web application can intergrate with them to make payments?

Can this all be done with php and mysql and javascript?

Thanks,William