{"id":488869,"name":"cbschuld/browser.php","ecosystem":"packagist","description":"A PHP Class to detect a user's Browser.  This encapsulation provides a breakdown of the browser and the version of the browser using the browser's user-agent string.  This is not a guaranteed solution but provides an overall accurate way to detect what browser a user is using.","homepage":"https://chrisschuld.com/projects/browser-php-detecting-a-users-browser-from-php/","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/cbschuld/Browser.php","keywords_array":["browser","user agent","detection"],"namespace":"cbschuld","versions_count":7,"first_release_published_at":"2019-07-09T15:57:40.000Z","latest_release_published_at":"2025-09-04T16:15:06.000Z","latest_release_number":"v2.0.0","last_synced_at":"2026-10-11T07:41:08.122Z","created_at":"2022-04-07T01:41:01.147Z","updated_at":"2026-10-11T07:41:10.523Z","registry_url":"https://packagist.org/packages/cbschuld/browser.php#","install_command":"composer require cbschuld/browser.php","documentation_url":null,"metadata":{"funding":[]},"repo_metadata":{"id":852566,"uuid":"582959","full_name":"cbschuld/Browser.php","owner":"cbschuld","description":"A PHP Class to detect a user's Browser.  This encapsulation provides a breakdown of the browser and the version of the browser using the browser's user-agent string.  This is not a guaranteed solution but provides an overall accurate way to detect what browser a user is using.","archived":false,"fork":false,"pushed_at":"2025-09-04T16:17:12.000Z","size":211,"stargazers_count":579,"open_issues_count":20,"forks_count":289,"subscribers_count":60,"default_branch":"master","last_synced_at":"2026-10-05T11:41:57.048Z","etag":null,"topics":["browser","php","user-agent","useragent"],"latest_commit_sha":null,"homepage":"https://chrisschuld.com/projects/browser-php-detecting-a-users-browser-from-php/","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/cbschuld.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-03-28T04:36:41.000Z","updated_at":"2026-09-16T20:44:28.000Z","dependencies_parsed_at":"2022-08-16T11:10:36.818Z","dependency_job_id":null,"html_url":"https://github.com/cbschuld/Browser.php","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/cbschuld/Browser.php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbschuld%2FBrowser.php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbschuld%2FBrowser.php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbschuld%2FBrowser.php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbschuld%2FBrowser.php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cbschuld","download_url":"https://codeload.github.com/cbschuld/Browser.php/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbschuld%2FBrowser.php/sbom","scorecard":{"id":268740,"data":{"date":"2025-08-11","repo":{"name":"github.com/cbschuld/Browser.php","commit":"9d07d6410977d494d7b8ecc2f3c877645c5477d9"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":1,"reason":"Found 2/16 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: MIT License: LICENSE.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 23 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-17T12:49:55.474Z","repository_id":852566,"created_at":"2025-08-17T12:49:55.475Z","updated_at":"2025-08-17T12:49:55.475Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":343843146,"owners_count":38178526,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-10-03T21:59:58.778Z","status":"online","status_checked_at":"2026-10-11T02:00:05.703Z","response_time":113,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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"},"owner_record":{"login":"cbschuld","name":"Chris Schuld","uuid":"231867","kind":"user","description":"SaaS entrepreneur, full-stack engineer, currently obsessed with serverless \r\njamstack.","email":"","website":"http://chrisschuld.com/","location":"Arizona, USA","twitter":"cbschuld","company":null,"icon_url":"https://avatars.githubusercontent.com/u/231867?u=89d6033a32538672d05cb15be6d57dddfcd0b88c\u0026v=4","repositories_count":16,"last_synced_at":"2023-03-11T01:02:52.032Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/cbschuld","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-02T20:32:51.793Z","updated_at":"2023-03-11T01:02:52.036Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cbschuld","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cbschuld/repositories"},"tags":[{"name":"v2.0.0","sha":"bf4be5f0b2d4d6d4bc328be58b1d9d7397561f82","kind":"commit","published_at":"2025-09-04T16:15:06.000Z","download_url":"https://codeload.github.com/cbschuld/Browser.php/tar.gz/v2.0.0","html_url":"https://github.com/cbschuld/Browser.php/releases/tag/v2.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/cbschuld/Browser.php@v2.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbschuld%2FBrowser.php/tags/v2.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbschuld%2FBrowser.php/tags/v2.0.0/manifests"},{"name":"v1.9.6","sha":"9d07d6410977d494d7b8ecc2f3c877645c5477d9","kind":"commit","published_at":"2020-04-14T18:46:44.000Z","download_url":"https://codeload.github.com/cbschuld/Browser.php/tar.gz/v1.9.6","html_url":"https://github.com/cbschuld/Browser.php/releases/tag/v1.9.6","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/cbschuld/Browser.php@v1.9.6","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbschuld%2FBrowser.php/tags/v1.9.6","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbschuld%2FBrowser.php/tags/v1.9.6/manifests"},{"name":"1.9.5","sha":"c880d1b40684f489630964d354b1f5e491a26a1b","kind":"commit","published_at":"2020-04-06T16:50:26.000Z","download_url":"https://codeload.github.com/cbschuld/Browser.php/tar.gz/1.9.5","html_url":"https://github.com/cbschuld/Browser.php/releases/tag/1.9.5","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/cbschuld/Browser.php@1.9.5","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbschuld%2FBrowser.php/tags/1.9.5","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbschuld%2FBrowser.php/tags/1.9.5/manifests"},{"name":"1.9.4","sha":"3d0f74bd975c51fd07b02d68dbfb5b3fc9d93c72","kind":"commit","published_at":"2019-07-09T23:55:12.000Z","download_url":"https://codeload.github.com/cbschuld/Browser.php/tar.gz/1.9.4","html_url":"https://github.com/cbschuld/Browser.php/releases/tag/1.9.4","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/cbschuld/Browser.php@1.9.4","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbschuld%2FBrowser.php/tags/1.9.4","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbschuld%2FBrowser.php/tags/1.9.4/manifests"},{"name":"1.9.1","sha":"f5c5600237cb88b983b8c26811022e4b96523c14","kind":"commit","published_at":"2019-07-09T15:57:40.000Z","download_url":"https://codeload.github.com/cbschuld/Browser.php/tar.gz/1.9.1","html_url":"https://github.com/cbschuld/Browser.php/releases/tag/1.9.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/cbschuld/Browser.php@1.9.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbschuld%2FBrowser.php/tags/1.9.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbschuld%2FBrowser.php/tags/1.9.1/manifests"},{"name":"1.9.3","sha":"4759a15268dc7bf6f456cf4da0afe416f6cd0b49","kind":"commit","published_at":"2019-07-08T23:13:15.000Z","download_url":"https://codeload.github.com/cbschuld/Browser.php/tar.gz/1.9.3","html_url":"https://github.com/cbschuld/Browser.php/releases/tag/1.9.3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/cbschuld/Browser.php@1.9.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbschuld%2FBrowser.php/tags/1.9.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbschuld%2FBrowser.php/tags/1.9.3/manifests"},{"name":"1.9.2","sha":"f48bdc9ef0939348b7827e58ceee0cb5e8eede63","kind":"commit","published_at":"2019-06-26T22:44:52.000Z","download_url":"https://codeload.github.com/cbschuld/Browser.php/tar.gz/1.9.2","html_url":"https://github.com/cbschuld/Browser.php/releases/tag/1.9.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/cbschuld/Browser.php@1.9.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbschuld%2FBrowser.php/tags/1.9.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbschuld%2FBrowser.php/tags/1.9.2/manifests"}]},"repo_metadata_updated_at":"2026-10-11T07:41:10.523Z","dependent_packages_count":20,"downloads":7612809,"downloads_period":"total","dependent_repos_count":125,"rankings":{"downloads":0.41037184968636936,"dependent_repos_count":0.8289610968482545,"dependent_packages_count":0.9526585501354,"stargazers_count":0.510403614923016,"forks_count":0.20052210475972218,"docker_downloads_count":0.8875083756579095,"average":0.6317375986684453},"purl":"pkg:composer/cbschuld/browser.php","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/packagist/cbschuld/browser.php","docker_dependents_count":4,"docker_downloads_count":215,"usage_url":"https://repos.ecosyste.ms/usage/packagist/cbschuld/browser.php","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/packagist/cbschuld/browser.php/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2026-10-06T17:11:12.752Z","issues_count":47,"pull_requests_count":57,"avg_time_to_close_issue":88990205.8275862,"avg_time_to_close_pull_request":25099777.945454545,"issues_closed_count":29,"pull_requests_closed_count":55,"pull_request_authors_count":35,"issue_authors_count":41,"avg_comments_per_issue":2.25531914893617,"avg_comments_per_pull_request":0.8596491228070176,"merged_pull_requests_count":38,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbschuld%2FBrowser.php/issues","maintainers":[{"login":"cbschuld","count":13,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/cbschuld"},{"login":"romainneutron","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/romainneutron"},{"login":"mavrick","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/mavrick"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/cbschuld%2Fbrowser.php/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/cbschuld%2Fbrowser.php/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/cbschuld%2Fbrowser.php/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/cbschuld%2Fbrowser.php/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/cbschuld%2Fbrowser.php/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/cbschuld%2Fbrowser.php/codemeta","maintainers":[{"uuid":"cbschuld","login":"cbschuld","name":null,"email":null,"url":null,"packages_count":5,"html_url":"https://packagist.org/users/cbschuld","role":null,"created_at":"2022-11-14T23:59:31.617Z","updated_at":"2022-11-14T23:59:31.617Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/packagist.org/maintainers/cbschuld/packages"}]}