osflab / device
OSF simple device detection and manipulations
3.0.0
2018-02-26 14:34 UTC
Requires
- php: ^7.1.0
- mobiledetect/mobiledetectlib: 2.8.30
- osflab/container: ~3.0.0
- osflab/exception: ~3.0.0
- osflab/session: ~3.0.0
This package is not auto-updated.
Last update: 2025-03-02 07:31:35 UTC
README
A MobileDetect proxy.
Installation
You need at least php 7.1 and composer
:
sudo apt install composer
In your application via composer
This is the recommended way to use this feature in a non-osf project.
Just add osflab/device
in your composer.json file.
From github
To test the component or participate in its development.
git clone https://github.com/osflab/device.git cd device && composer update
Unit tests launch:
vendor/bin/runtests