neilime / zf2-mobile-detect

ZF Mobile-Detect is a Zend Framework module that provides Mobile-Detect features
http://neilime.github.io/zf2-mobile-detect
MIT License
35 stars 12 forks source link

Class 'Mobile_Detect' not found #1

Closed EarthshakerDev closed 7 years ago

neilime commented 10 years ago

It depends on how is done vendor autoloading. Maybe you should delare Mobile_detect in your autoloader.

"classmap": ["path/to/vendor/Mobile_Detect.php"],
"psr-0": {
    "Detection": "path/to/vendor/namespaced/"
}