{"id":27162237,"url":"https://github.com/consoletvs/identify","last_synced_at":"2025-04-09T01:00:06.151Z","repository":{"id":56957469,"uuid":"87116301","full_name":"ConsoleTVs/Identify","owner":"ConsoleTVs","description":"Laravel 5 Package to identify a User's Browser, Operating System, Language and Device, forked from unicodeveloper/laravel-identify","archived":false,"fork":false,"pushed_at":"2019-09-09T19:24:29.000Z","size":9,"stargazers_count":26,"open_issues_count":2,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-05-01T22:53:26.634Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://erik.cat","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/ConsoleTVs.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":"2017-04-03T20:10:52.000Z","updated_at":"2022-07-25T17:12:44.000Z","dependencies_parsed_at":"2022-08-21T09:50:15.851Z","dependency_job_id":null,"html_url":"https://github.com/ConsoleTVs/Identify","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConsoleTVs%2FIdentify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConsoleTVs%2FIdentify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConsoleTVs%2FIdentify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConsoleTVs%2FIdentify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ConsoleTVs","download_url":"https://codeload.github.com/ConsoleTVs/Identify/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247953015,"owners_count":21023947,"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":[],"created_at":"2025-04-09T01:00:05.273Z","updated_at":"2025-04-09T01:00:06.124Z","avatar_url":"https://github.com/ConsoleTVs.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Identify\n\n\u003e Laravel 5 Package to identify a User's Browser, Operating System, Language and Device, forked from unicodeveloper/laravel-identify\n\n**NOTE: Works on the latest laravel version**\n\n## Installation\n\n[PHP](https://php.net) 5.4+ 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```\ncomposer require consoletvs/identify\n```\n\nYou'll then need to run `composer install` or `composer update` to download it and have the autoloader updated.\n\nOnce Laravel Identify is installed, you need to register the service provider. Open up `config/app.php` and add the following to the `providers` key.\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\\IdentityFacade::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%2Fconsoletvs%2Fidentify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconsoletvs%2Fidentify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconsoletvs%2Fidentify/lists"}