Download the PHP package unicodeveloper/laravel-identify without Composer
On this page you can find all versions of the php package unicodeveloper/laravel-identify. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download unicodeveloper/laravel-identify
More information about unicodeveloper/laravel-identify
Files in unicodeveloper/laravel-identify
Package laravel-identify
Short Description A Laravel 5 Package Provider to Identify/detect a user's browser, device, operating system and Language
License MIT
Informations about the package laravel-identify
laravel-identify
Laravel 5 Package to identify a User's Browser, Operating System, Language and Device
Installation
PHP 7.1+ or HHVM 3.3+, and Composer are required.
To get the latest version of Laravel Identify, simply add the following line to the require block of your composer.json
file.
You'll then need to run composer install
or composer update
to download it and have the autoloader updated.
- If you're on Laravel 5.5 or above, that's all you need to do! Check out the usage examples below.
-
If you're on Laravel < 5.5, you'll need to register the service provider once the package is installed. Open up
config/app.php
and add the following to theproviders
array: Unicodeveloper\Identify\IdentifyServiceProvider::class
Also, register the Facade like so:
Configuration
To get started, you'll need to publish all vendor assets:
Browser Detection
The browser method allows you to detect a user's browser and version.
Browsers Detected
- Vivaldi
- Opera
- Opera Mini
- WebTV
- Internet Explorer
- Pocket Internet Explorer
- Microsoft Edge
- Konqueror
- iCab
- OmniWeb
- Firebird
- Firefox
- Iceweasel
- Shiretoko
- Mozilla
- Amaya
- Lynx
- Safari
- Chrome
- Navigator
- GoogleBot
- Yahoo! Slurp
- W3C Validator
- BlackBerry
- IceCat
- Nokia S60 OSS Browser
- Nokia Browser
- MSN Browser
- MSN Bot
- Netscape Navigator
- Galeon
- NetPositive
- Phoenix
- SeaMonkey
- Yandex Browser
Usage
OS Detection
The os method allows you to detect a user's operating system and version.
OS Detected
- Windows
- Windows Phone
- OS X
- iOS
- Android
- Chrome OS
- Linux
- SymbOS
- Nokia
- BlackBerry
- FreeBSD
- OpenBSD
- NetBSD
- OpenSolaris
- SunOS
- OS2
- BeOS
Usage
Device Detection
The device method allows you to detect a user's device.
Device Detected
- iPad
- iPhone
- Windows Phone
Usage
Language Detection
The language method allows you to detect a user's language.
Usage
Contributing
Please feel free to fork this package and contribute by submitting a pull request to enhance the functionalities.
How can I thank you?
Why not star the github repo? I'd love the attention! Why not share the link for this repository on Twitter or HackerNews? Spread the word!
Don't forget to follow me on twitter!
Thanks! Prosper Otemuyiwa.
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-identify with dependencies
illuminate/support Version ~5.7.0|~5.8.0
sinergi/browser-detector Version 6.1.*