shfarzam / device-detection
A PHP library for device detection including mobile, bot, and tablet/PC detection methods.
dev-main
2024-01-04 23:35 UTC
Requires
- php: >=7.4
- shfarzam/data-validation: ^1.0.1
Requires (Dev)
- phpunit/phpunit: 9.6.x-dev
This package is auto-updated.
Last update: 2024-11-05 01:25:33 UTC
README
The shfarzam/device-detection
library provides a PHP-based solution for detecting various types of devices, including mobiles, tablets, desktops, and bots based on the User-Agent string. This library aims to simplify device detection for web applications.
Installation
You can install this package via Composer. Run the following command in your project directory:
composer require shfarzam/device-detection
Usage
License
This library is open-sourced software licensed under the GNU General Public License v3.0.
Contributing
Contributions are welcome! If you encounter bugs or have suggestions, please open an issue or submit a pull request.