{"id":13563845,"url":"https://github.com/unicodeveloper/laravel-identify","last_synced_at":"2025-04-05T14:09:52.532Z","repository":{"id":57075426,"uuid":"49921966","full_name":"unicodeveloper/laravel-identify","owner":"unicodeveloper","description":":package: :iphone:  Laravel 5 Package to Detect Users Browsers, Devices, Languages and Operating Systems","archived":false,"fork":false,"pushed_at":"2019-11-20T15:16:42.000Z","size":44,"stargazers_count":191,"open_issues_count":3,"forks_count":43,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-29T13:11:15.434Z","etag":null,"topics":["blackberry","browser-detection","device-detection","iphone","language","laravel","laravel-idenitfy","laravel-package","opera","os-detection"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/unicodeveloper.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-19T02:56:29.000Z","updated_at":"2025-02-06T21:10:55.000Z","dependencies_parsed_at":"2022-08-24T14:40:37.445Z","dependency_job_id":null,"html_url":"https://github.com/unicodeveloper/laravel-identify","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unicodeveloper%2Flaravel-identify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unicodeveloper%2Flaravel-identify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unicodeveloper%2Flaravel-identify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unicodeveloper%2Flaravel-identify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unicodeveloper","download_url":"https://codeload.github.com/unicodeveloper/laravel-identify/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247345856,"owners_count":20924102,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blackberry","browser-detection","device-detection","iphone","language","laravel","laravel-idenitfy","laravel-package","opera","os-detection"],"created_at":"2024-08-01T13:01:23.884Z","updated_at":"2025-04-05T14:09:52.510Z","avatar_url":"https://github.com/unicodeveloper.png","language":"PHP","funding_links":[],"categories":["PHP","Packages"],"sub_categories":["Development Tools"],"readme":"# laravel-identify\n\n[![Latest Stable Version](https://poser.pugx.org/unicodeveloper/laravel-identify/v/stable.svg)](https://packagist.org/packages/unicodeveloper/laravel-identify)\n![](https://img.shields.io/badge/unicodeveloper-approved-brightgreen.svg)\n[![License](https://poser.pugx.org/unicodeveloper/laravel-identify/license.svg)](LICENSE.md)\n[![Build Status](https://img.shields.io/travis/unicodeveloper/laravel-identify.svg)](https://travis-ci.org/unicodeveloper/laravel-identify)\n[![Coveralls](https://img.shields.io/coveralls/unicodeveloper/laravel-identify/master.svg)](https://coveralls.io/github/unicodeveloper/laravel-identify?branch=master)\n[![Quality Score](https://img.shields.io/scrutinizer/g/unicodeveloper/laravel-identify.svg?style=flat-square)](https://scrutinizer-ci.com/g/unicodeveloper/laravel-identify)\n[![Total Downloads](https://img.shields.io/packagist/dt/unicodeveloper/laravel-identify.svg?style=flat-square)](https://packagist.org/packages/unicodeveloper/laravel-identify)\n\n\u003e Laravel 5 Package to identify a User's Browser, Operating System, Language and Device\n\n## Installation\n\n[PHP](https://php.net) 7.1+ or [HHVM](http://hhvm.com) 3.3+, and [Composer](https://getcomposer.org) are required.\n\nTo get the latest version of Laravel Identify, simply add the following line to the require block of your `composer.json` file.\n\n```\n\"unicodeveloper/laravel-identify\": \"1.7.*\"\n```\n\nYou'll then need to run `composer install` or `composer update` to download it and have the autoloader updated.\n\n- If you're on Laravel 5.5 or above, that's all you need to do! Check out the usage examples below.\n- If you're on Laravel \u003c 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 the `providers` array:\n\n* `Unicodeveloper\\Identify\\IdentifyServiceProvider::class`\n\nAlso, register the Facade like so:\n\n```php\n'aliases' =\u003e [\n    ...\n    'Identify' =\u003e Unicodeveloper\\Identify\\Facades\\IdentifyFacade::class,\n    ...\n]\n```\n\n## Configuration\n\nTo get started, you'll need to publish all vendor assets:\n\n```bash\n$ php artisan vendor:publish --provider=\"Unicodeveloper\\Identify\\IdentifyServiceProvider\"\n```\n## Browser Detection\n\nThe browser method allows you to detect a user's browser and version.\n\n### Browsers Detected\n\n * Vivaldi\n * Opera\n * Opera Mini\n * WebTV\n * Internet Explorer\n * Pocket Internet Explorer\n * Microsoft Edge\n * Konqueror\n * iCab\n * OmniWeb\n * Firebird\n * Firefox\n * Iceweasel\n * Shiretoko\n * Mozilla\n * Amaya\n * Lynx\n * Safari\n * Chrome\n * Navigator\n * GoogleBot\n * Yahoo! Slurp\n * W3C Validator\n * BlackBerry\n * IceCat\n * Nokia S60 OSS Browser\n * Nokia Browser\n * MSN Browser\n * MSN Bot\n * Netscape Navigator\n * Galeon\n * NetPositive\n * Phoenix\n * SeaMonkey\n * Yandex Browser\n\n### Usage\n\n```php\n/**\n * Gets the version of the user's browser\n * @return string\n */\nIdentify::browser()-\u003egetVersion()\n\n/**\n * Gets the name of the user's browser\n * @return string\n */\nIdentify::browser()-\u003egetName()\n```\n## OS Detection\n\nThe os method allows you to detect a user's operating system and version.\n\n### OS Detected\n\n * Windows\n * Windows Phone\n * OS X\n * iOS\n * Android\n * Chrome OS\n * Linux\n * SymbOS\n * Nokia\n * BlackBerry\n * FreeBSD\n * OpenBSD\n * NetBSD\n * OpenSolaris\n * SunOS\n * OS2\n * BeOS\n\n### Usage\n\n```php\n/**\n * Gets the version of the user's Operating System\n * @return string\n */\nIdentify::os()-\u003egetVersion()\n\n/**\n * Gets the name of the user's Operating System\n * @return string\n */\nIdentify::os()-\u003egetName()\n```\n\n## Device Detection\n\nThe device method allows you to detect a user's device.\n\n### Device Detected\n\n * iPad\n * iPhone\n * Windows Phone\n\n### Usage\n\n```php\n/**\n * Gets the name of the user's device\n * @return string\n */\nIdentify::device()-\u003egetName()\n```\n\n## Language Detection\n\nThe language method allows you to detect a user's language.\n\n### Usage\n\n```php\n/**\n * Gets the language that the user's browser contents are displayed in\n * @return string\n */\nIdentify::lang()-\u003egetLanguage()\n```\n\n\n## Contributing\n\nPlease feel free to fork this package and contribute by submitting a pull request to enhance the functionalities.\n\n\n## How can I thank you?\n\nWhy 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!\n\nDon't forget to [follow me on twitter](https://twitter.com/unicodeveloper)!\n\nThanks!\nProsper Otemuyiwa.\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funicodeveloper%2Flaravel-identify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funicodeveloper%2Flaravel-identify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funicodeveloper%2Flaravel-identify/lists"}