Skip to content

Lightweight Symfony bundle for the library Mobile Detect

License

Notifications You must be signed in to change notification settings

diego182/mobiledetectbundle

Repository files navigation

Mobile Detect Bundle for Symfony

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;
    }
}

About

Lightweight Symfony bundle for the library Mobile Detect

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages