{"id":20961732,"url":"https://github.com/heimrichhannot/contao-mediaquery","last_synced_at":"2025-06-16T05:32:53.594Z","repository":{"id":56983893,"uuid":"42725970","full_name":"heimrichhannot/contao-mediaquery","owner":"heimrichhannot","description":"Contao library that sets an cookie via javascript containing browser dimension to check browser viewport dimension in php.","archived":false,"fork":false,"pushed_at":"2020-01-16T16:07:04.000Z","size":8,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-01-20T00:52:47.360Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/heimrichhannot.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-09-18T14:06:41.000Z","updated_at":"2021-01-19T12:53:53.000Z","dependencies_parsed_at":"2022-08-21T08:30:06.017Z","dependency_job_id":null,"html_url":"https://github.com/heimrichhannot/contao-mediaquery","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heimrichhannot%2Fcontao-mediaquery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heimrichhannot%2Fcontao-mediaquery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heimrichhannot%2Fcontao-mediaquery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heimrichhannot%2Fcontao-mediaquery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heimrichhannot","download_url":"https://codeload.github.com/heimrichhannot/contao-mediaquery/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243358306,"owners_count":20277995,"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-11-19T02:16:06.012Z","updated_at":"2025-03-13T07:11:56.448Z","avatar_url":"https://github.com/heimrichhannot.png","language":"PHP","readme":"# Contao MediaQuery\n\nContao library that sets an cookie via javascript containing browser dimension to check browser viewport dimension in php.\n\n## Currently supported\n\n- width/max-width/max-device-width check\n- height/max-height/max-device-height check\n\nFor detailed usage check 'HeimrichHannot\\MediaQuery\\ViewportTest.php'.\n\n## Usage\n\n```\n\\HeimrichHannot\\MediaQuery\\Viewport::matchQuery('(min-width: 800px and max-width: 1300px)');\n```\n\nWill return true if current browser dimension is between 800px and 1300px, otherwise false.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheimrichhannot%2Fcontao-mediaquery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheimrichhannot%2Fcontao-mediaquery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheimrichhannot%2Fcontao-mediaquery/lists"}