{"id":16293592,"url":"https://github.com/badsyntax/kohana-device","last_synced_at":"2025-03-20T03:31:08.750Z","repository":{"id":5934039,"uuid":"7154167","full_name":"badsyntax/kohana-device","owner":"badsyntax","description":"Kohana 3.3 mobile device detection","archived":false,"fork":false,"pushed_at":"2013-10-15T10:33:44.000Z","size":123,"stargazers_count":7,"open_issues_count":0,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-17T14:22:05.812Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/badsyntax/kohana-device","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/badsyntax.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}},"created_at":"2012-12-13T19:40:18.000Z","updated_at":"2022-12-27T22:38:19.000Z","dependencies_parsed_at":"2022-09-11T01:51:20.151Z","dependency_job_id":null,"html_url":"https://github.com/badsyntax/kohana-device","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badsyntax%2Fkohana-device","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badsyntax%2Fkohana-device/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badsyntax%2Fkohana-device/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badsyntax%2Fkohana-device/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/badsyntax","download_url":"https://codeload.github.com/badsyntax/kohana-device/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244543786,"owners_count":20469562,"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":"2024-10-10T20:11:49.605Z","updated_at":"2025-03-20T03:31:08.455Z","avatar_url":"https://github.com/badsyntax.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"kohana-device\n=============\n\nA kohana 3.3 module that provides device detection. \nIt's simply a wrapper around the [Mobile_Detect](https://github.com/serbanghita/Mobile-Detect) class.\n\n### Installation\n\n1. Add the kohana-device module as a submodule to your `/module` directory\n2. Update the submodules within the kohana-device module: `git submodule update --init` \n2. Enabled the module in your bootstrap.php file\n\n### Usage\n\nInstantiate the class and detect mobile:\n```php\n$device = new Device();\n\nif ($device-\u003eis_mobile()) \n{\n  // Any mobile device.\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbadsyntax%2Fkohana-device","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbadsyntax%2Fkohana-device","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbadsyntax%2Fkohana-device/lists"}