diego182 / mobile-detect
Installs: 786
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=8.0.0
- mobiledetect/mobiledetectlib: ^4.8
- symfony/config: ^6.0|^7.0
- symfony/dependency-injection: ^6.0|^7.0
- symfony/http-kernel: ^6.0|^7.0
Requires (Dev)
- symfony/phpunit-bridge: ^6.0|^7.0
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; } }