{"id":16355198,"url":"https://github.com/valicm/universal_device_detection","last_synced_at":"2026-01-25T00:31:22.135Z","repository":{"id":72462256,"uuid":"187014252","full_name":"valicm/universal_device_detection","owner":"valicm","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-15T11:08:12.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"2.0.x","last_synced_at":"2025-12-20T07:35:54.590Z","etag":null,"topics":["device-detection","drupal","drupal-8","drupal-module"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/valicm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-05-16T11:28:51.000Z","updated_at":"2024-10-15T10:58:18.000Z","dependencies_parsed_at":"2024-11-07T18:06:40.163Z","dependency_job_id":"c005b664-f23b-49d7-8d19-20e66e250df3","html_url":"https://github.com/valicm/universal_device_detection","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/valicm/universal_device_detection","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valicm%2Funiversal_device_detection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valicm%2Funiversal_device_detection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valicm%2Funiversal_device_detection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valicm%2Funiversal_device_detection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/valicm","download_url":"https://codeload.github.com/valicm/universal_device_detection/tar.gz/refs/heads/2.0.x","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valicm%2Funiversal_device_detection/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28739845,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T22:12:27.248Z","status":"ssl_error","status_checked_at":"2026-01-24T22:12:10.529Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["device-detection","drupal","drupal-8","drupal-module"],"created_at":"2024-10-11T01:39:49.225Z","updated_at":"2026-01-25T00:31:22.119Z","avatar_url":"https://github.com/valicm.png","language":"PHP","readme":"CONTENTS OF THIS FILE\n---------------------\n\n* Introduction\n* Requirements\n* Installation\n* Configuration\n* Usage\n* Maintainers\n\n\nINTRODUCTION\n------------\n\nDrupal 8 module providing service for device detection using\ndevice detector library.\nhttps://github.com/matomo-org/device-detector\n\nThe Universal Device Detection library that parses User Agents and detects\ndevices (desktop, tablet, mobile, tv, cars, console, etc.),\nclients (browsers, feed readers, media players, PIMs, ...),\noperating systems, brands and models.\n\n\n\nREQUIREMENTS\n------------\n\nDevice detector PHP library https://github.com/matomo-org/device-detector\n\n\nINSTALLATION\n------------\n\nInstall the Universal Device Detection module as you would normally install\nany Drupal contrib module.\nVisit https://www.drupal.org/node/1897420 for further information.\n\n\nCONFIGURATION\n--------------\n\nNone\n\n\nUSAGE\n--------------\n\nThis module does not do anything out of the box, just provide service which you\ncan use in your code.\n\n`\\Drupal::service('universal_device_detection.default')-\u003edetect();`\n\nIf you want process bots as normal devices:\n`\\Drupal::service('universal_device_detection.default')-\u003edetect(FALSE);`\n\nExample of response\n\n```array (\n  'type' =\u003e 'desktop',\n  'info' =\u003e \n  array (\n    'client' =\u003e \n    array (\n      'type' =\u003e 'browser',\n      'name' =\u003e 'Chromium',\n      'short_name' =\u003e 'CR',\n      'version' =\u003e '73.0',\n      'engine' =\u003e 'Blink',\n      'engine_version' =\u003e '',\n    ),\n    'os' =\u003e \n    array (\n      'name' =\u003e 'Ubuntu',\n      'short_name' =\u003e 'UBT',\n      'version' =\u003e '',\n      'platform' =\u003e 'x64',\n    ),\n    'brand' =\u003e '',\n    'model' =\u003e '',\n  ),\n)\n```\n\n\nMAINTAINERS\n-----------\n\nThe 8.x-1.x branch was created by:\n\n * Valentino Medimorec (valic) - https://www.drupal.org/u/valic\n\nThis module was created and sponsored by Foreo,\nSwedish multi-national beauty brand.\n\n * Foreo - https://www.foreo.com/\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalicm%2Funiversal_device_detection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvalicm%2Funiversal_device_detection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalicm%2Funiversal_device_detection/lists"}