{"id":20770661,"url":"https://github.com/johnstyle/pquery","last_synced_at":"2025-03-11T19:49:21.711Z","repository":{"id":12488644,"uuid":"15158057","full_name":"johnstyle/pQuery","owner":"johnstyle","description":"PHP DOM selector jQuery like","archived":false,"fork":false,"pushed_at":"2015-03-22T13:47:33.000Z","size":168,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-18T07:11:59.769Z","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":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/johnstyle.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":"2013-12-13T08:00:41.000Z","updated_at":"2015-03-22T13:47:33.000Z","dependencies_parsed_at":"2022-08-27T18:51:31.280Z","dependency_job_id":null,"html_url":"https://github.com/johnstyle/pQuery","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnstyle%2FpQuery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnstyle%2FpQuery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnstyle%2FpQuery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnstyle%2FpQuery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnstyle","download_url":"https://codeload.github.com/johnstyle/pQuery/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243104204,"owners_count":20236943,"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-17T12:11:11.327Z","updated_at":"2025-03-11T19:49:21.678Z","avatar_url":"https://github.com/johnstyle.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"pQuery\n======\n\nPHP DOM selector jQuery like\n\nExample\n======\n\n\u003cpre\u003e\n\n$html = '\u0026lt;div\u0026gt;\n         \u0026lt;span class=\u0026quot;test gogo wawa\u0026quot;\u0026gt;test \u0026lt;sup\u0026gt;10\u0026lt;/sup\u0026gt;\u0026lt;sup\u0026gt;\u0026lt;strong\u0026gt;11\u0026lt;/strong\u0026gt;\u0026lt;/sup\u0026gt;\u0026lt;sup\u0026gt;12\u0026lt;/sup\u0026gt;\u0026lt;/span\u0026gt;\n         \u0026lt;span class=\u0026quot;test demo toto\u0026quot;\u0026gt;demo \u0026lt;sup class=\u0026quot;oo\u0026quot;\u0026gt;\u0026lt;strong\u0026gt;15\u0026lt;/strong\u0026gt;\u0026lt;/sup\u0026gt;\u0026lt;/span\u0026gt;\n         \u0026lt;/div\u0026gt;';\n\n$pQuery = new pQuery($html);\n$pQuery-\u003efind('span[class*=gogo] sup:last');\necho $pQuery-\u003etext();\n\n\u003c/pre\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnstyle%2Fpquery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnstyle%2Fpquery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnstyle%2Fpquery/lists"}