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.
You can install this package via Composer. Run the following command in your project directory:
composer require shfarzam/device-detection
This library is open-sourced software licensed under the GNU General Public License v3.0.
Contributions are welcome! If you encounter bugs or have suggestions, please open an issue or submit a pull request.