marcelo-correa / mcuacparser
Module 'ua-parser/uap-php' changed to Zend Framework 2
dev-master
2015-08-25 18:43 UTC
Requires
- php: >=5.3.3
- ua-parser/uap-php: ^3.4
This package is auto-updated.
Last update: 2025-03-08 16:54:58 UTC
README
{ "require": { "marcelo-correa/mcuacparser": "dev-master", } } in "config/application.config.php", include Modules: 'modules' => [ ... 'McUACParser', ... ], $McUACParser = new McUACParser(); print $McUACParser->getuaFamily(); print $McUACParser->getuaMajor(); print $McUACParser->getuaMinor(); print $McUACParser->getuaPatch(); print $McUACParser->getuaName(); print $McUACParser->getuaVersion(); print $McUACParser->getOsFamily(); print $McUACParser->getOsMajor(); print $McUACParser->getOsMinor(); print $McUACParser->getOsPatch(); print $McUACParser->getOsPatchMinor(); print $McUACParser->getOsName(); print $McUACParser->getOsVersion(); print $McUACParser->getDeviceFamily(); print $McUACParser->getUaNameOsName(); print $McUACParser->getOriginalUserAgent();