shfarzam / device-detection
A PHP library for device detection including mobile, bot, and tablet/PC detection methods.
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/shfarzam/device-detection
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: 2025-10-05 03:25:52 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.