itrulia/mobile-detect

There is no license information available for the latest version (dev-master) of this package.

dev-master 2013-12-07 07:01 UTC

This package is not auto-updated.

Last update: 2024-11-19 02:22:36 UTC


README

MobileDetect is a wrapper of Mobile_Detect which integrates it into Laravel.

Installation

Add itrulia/mobile-detect to composer.json.

"itrulia/mobile-detect": "dev-master"

Run composer update to pull down the latest version of MobileDetect. Now open up app/config/app.php and add the service provider to your providers array.

'providers' => array(
    'Itrulia\Minimalist\MobileDetectServiceProvider',
)

Usage

Facade would be \Mobile
for the API see: Mobile_Detect