diego182/mobile-detect

Installs: 723

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

Type:symfony-bundle

2.0.0 2024-01-04 20:33 UTC

This package is auto-updated.

Last update: 2024-05-04 21:21:25 UTC


README

This library aims to give a thin wrapper for Mobile Detect library, providing library auto configuration for autowire the class into your project.

This way you could just auto wire the class into your services as follows:

<?php

namespace App\Service;

use diego182\MobileDetectBundle\Service\MobileDetect;

class MyService
{
    private MobileDetect $mobileDetect;
    
    public function __construct(MobileDetect $mobileDetect) {
        $this->mobileDetect = $mobileDetect;
    }
}