Download the PHP package mini4work/lib-io without Composer
On this page you can find all versions of the php package mini4work/lib-io. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download mini4work/lib-io
More information about mini4work/lib-io
Files in mini4work/lib-io
Download mini4work/lib-io
More information about mini4work/lib-io
Files in mini4work/lib-io
Vendor mini4work
Package lib-io
Short Description Package for FFI IO cross-platform calls. Can be used for mouse and keyboard manipulation.
License MIT
Package lib-io
Short Description Package for FFI IO cross-platform calls. Can be used for mouse and keyboard manipulation.
License MIT
Please rate this library. Is it a good library?
Informations about the package lib-io
Mini4Work Lib IO
A PHP package for mouse and keyboard manipulation using FFI.
⚠️ On first run, the system may request permission to control the keyboard or mouse. This is normal behavior, as these operations require special access for security reasons.
Requirements
- PHP 8.3 or higher
- PHP FFI extension (usually enabled by default)
Enabling PHP FFI Extension
-
Windows: Uncomment the following line in your
php.ini
file to enable FFI: - macOS: If PHP is installed via Homebrew, FFI support is enabled by default.
- Linux: Check your
php.ini
file to ensure FFI is enabled.
Supported Platforms
OS | PHP Version |
---|---|
macOS Sequoia | 8.3, 8.4 |
Windows 11 | 8.4 |
Installation
Features
Mouse Control
OS | Move | Click | GetPosition |
---|---|---|---|
macOS | ✅ | ✅ | ✅ |
Linux (X11) | ⚠️ | ⚠️ | ⚠️ |
Linux (WayLand) | ⏳ | ⏳ | ⏳ |
Windows | ✅ | ✅ | ✅ |
Keyboard Control
OS | DownKey | UpKey | PressKey | IsKeyPressed |
---|---|---|---|---|
macOS | ✅ | ✅ | ✅ | ✅ |
Linux (X11) | ⚠️ | ⚠️ | ⚠️ | ⚠️ |
Linux (WayLand) | ⏳️ | ⏳ | ⏳️ | ⏳ |
Windows | ✅ | ✅ | ✅ | ✅ |
Legend
Symbol | Meaning |
---|---|
✅ | Works and tested on real device — The functionality works and has been tested on real devices (may still contain bugs on other devices). |
⚠️ | Not tested — Functionality is untested (consider it as not supported, but feel free to try it). |
⏳ | In progress — Functionality is under active development. |
Usage
Mouse
Available methods:
Keyboard
Available methods:
Pressed key loop:
License
Mini4Work is distributed under The MIT license.
All versions of lib-io with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.3
ext-ffi Version *
ext-ffi Version *
The package mini4work/lib-io contains the following files
Loading the files please wait ....