Downloads
Stars
Version
A PHP mobile/desktop User-Agent parser, with support for Laravel, based on jenssegers/agent
which based on the Mobile Detect.
$ composer require elfsundae/agent
If your application runs on Lumen, or on earlier Laravel than v5.5 which does not support package discovery, you need to register the service provider manually:
ElfSundae\Agent\AgentServiceProvider::class,
And add the Agent
facade alias:
'Agent' => ElfSundae\Agent\Facades\Agent::class,
This package is open-sourced software licensed under the MIT License.