Download the PHP package m3m0r7/php-libusb without Composer
On this page you can find all versions of the php package m3m0r7/php-libusb. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package php-libusb
php-libusb
What is this?
This project is wrapping the libusb with PHP. The libusb is written in C and bridge to it via PHP FFI. This project is experimental project.
Requirements
- PHP 8.3+
- libusb
Prepare
macOS
-
Install libusb via brew if you use macOS
-
You will get dynamic library is here:
- You will get header file is here:
Windows
TBD
Ubuntu
TBD
Get started
Quick start
-
Install this library
-
Write below code quick start code and save as
test.php
- Run
php test.php
to be got devices list
Send/Receive packet from serial port
-
Write below code and save as
test2.php
- Run
php test2.php
then sent packets to the device and received from it.
How to test
LICENSE
MIT
All versions of php-libusb with dependencies
PHP Build Version
Package Version
Requires
symfony/process Version
^7.0
The package m3m0r7/php-libusb contains the following files
Loading the files please wait ....