{"id":16511164,"url":"https://github.com/danog/libdnsjson","last_synced_at":"2025-10-14T04:20:22.098Z","repository":{"id":56962187,"uuid":"191567477","full_name":"danog/LibDNSJson","owner":"danog","description":"Encoder/decoder for google's JSON DNS message format based on libdns","archived":false,"fork":false,"pushed_at":"2024-12-02T16:41:26.000Z","size":14,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-25T13:17:07.812Z","etag":null,"topics":["dns","doh","json","libdns"],"latest_commit_sha":null,"homepage":null,"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/danog.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2019-06-12T12:33:08.000Z","updated_at":"2025-05-11T16:59:16.000Z","dependencies_parsed_at":"2023-01-23T04:00:21.446Z","dependency_job_id":null,"html_url":"https://github.com/danog/LibDNSJson","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/danog/LibDNSJson","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danog%2FLibDNSJson","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danog%2FLibDNSJson/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danog%2FLibDNSJson/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danog%2FLibDNSJson/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danog","download_url":"https://codeload.github.com/danog/LibDNSJson/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danog%2FLibDNSJson/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262307715,"owners_count":23291096,"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":["dns","doh","json","libdns"],"created_at":"2024-10-11T15:59:12.403Z","updated_at":"2025-10-14T04:20:17.059Z","avatar_url":"https://github.com/danog.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LibDNSJson\n\n[![Build Status](https://img.shields.io/travis/danog/libdnsjson/master.svg?style=flat-square)](https://travis-ci.org/danog/libdnsjson)\n![License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)\n\n\nEncoder/decoder for [google's JSON DNS message format](https://developers.google.com/speed/public-dns/docs/dns-over-https) based on [libdns](https://github.com/DaveRandom/LibDNS/).  \n\nThe API consists of a `QueryEncoderFactory` that creates `QueryEncoder` objects, that can encode libdns `Message` objects to a query string that can be used both with google's and cloudflare's DNS-over-HTTPS APIs (for cloudflare, using directly UDP wireformat with `libdns`'s `Encoder` is recommended).  \n\nThe `JsonDecoderFactory` creates `JsonDecoder` objects, that accept JSON strings and decode them back to `Message` objects.  \n\n## Installation\n\n```\ncomposer require danog/libdns-json\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanog%2Flibdnsjson","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanog%2Flibdnsjson","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanog%2Flibdnsjson/lists"}