{"id":36970038,"url":"https://github.com/felipe1234-dev/jquery-like-php-dom","last_synced_at":"2026-01-13T21:43:28.239Z","repository":{"id":55589798,"uuid":"321190466","full_name":"felipe1234-dev/jquery-like-php-dom","owner":"felipe1234-dev","description":"The PHP DOM Parser that most closely resembles jQuery.","archived":false,"fork":false,"pushed_at":"2020-12-27T20:23:06.000Z","size":193,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-08T21:59:04.296Z","etag":null,"topics":["easy-peasy","easy-to-use","manipulation","parser","parser-plugin","php-dom","php-dom-query","php-framework","php7","web-parser","web-parsers","webscraping"],"latest_commit_sha":null,"homepage":"","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/felipe1234-dev.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":"2020-12-14T00:27:51.000Z","updated_at":"2023-01-18T18:41:14.000Z","dependencies_parsed_at":"2022-08-15T03:50:32.028Z","dependency_job_id":null,"html_url":"https://github.com/felipe1234-dev/jquery-like-php-dom","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/felipe1234-dev/jquery-like-php-dom","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipe1234-dev%2Fjquery-like-php-dom","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipe1234-dev%2Fjquery-like-php-dom/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipe1234-dev%2Fjquery-like-php-dom/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipe1234-dev%2Fjquery-like-php-dom/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/felipe1234-dev","download_url":"https://codeload.github.com/felipe1234-dev/jquery-like-php-dom/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipe1234-dev%2Fjquery-like-php-dom/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28401059,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T14:36:09.778Z","status":"ssl_error","status_checked_at":"2026-01-13T14:35:19.697Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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"}},"keywords":["easy-peasy","easy-to-use","manipulation","parser","parser-plugin","php-dom","php-dom-query","php-framework","php7","web-parser","web-parsers","webscraping"],"created_at":"2026-01-13T21:43:27.502Z","updated_at":"2026-01-13T21:43:28.231Z","avatar_url":"https://github.com/felipe1234-dev.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jQuery-like PHP DOM\n\u003e Easy-to-learn php dom parser with CSS selector, short codes and ability to manipulate text nodes\n\n[![GitHub issues](https://img.shields.io/github/issues/felipe1234-dev/simple-php-dom-query)](https://github.com/felipe1234-dev/jquery-like-php-dom/issues)\n[![GitHub forks](https://img.shields.io/github/forks/felipe1234-dev/simple-php-dom-query)](https://github.com/felipe1234-dev/jquery-like-php-dom/network)\n[![GitHub stars](https://img.shields.io/github/stars/felipe1234-dev/simple-php-dom-query)](https://github.com/felipe1234-dev/jquery-like-php-dom/stargazers)\n[![GitHub license](https://img.shields.io/github/license/felipe1234-dev/simple-php-dom-query)](https://github.com/felipe1234-dev/jquery-like-php-dom/blob/main/LICENSE)\n\nSimple PHP Dom Query interface simplification over native PHP Dom Document, which tries to look like closely to jQuery to look friendly to front-end developers. In this library, most of the main functions in jQuery and jQuery-like PHP DOM look exactly like behavior and syntax. This library was done for training purposes.\n\n## Installation\n\n**Composer**\n\n```\ncomposer require felipe1234-dev/php-dom-query\n```\n\n**Git**\n\n```\ngit clone git://git.code.sf.net/p/jquery-like-php-dom/repository jquery-like-php-dom\n```\n\n## jQuery-like PHP DOM vs jQuery comparison\n\n\u003cdetails\u003e\n   \u003csummary\u003e\n      \u003cb\u003eWrapping elements\u003c/b\u003e\n   \u003c/summary\u003e\n\n   jQuery\n   ```html\n   \u003cscript\u003e\n   $(document).ready(function(){\n      $(\"img\").wrap(\"\u003cfigure\u003e\u003c/figure\u003e\");\n   });\n   \u003c/script\u003e\n   ```\n\n   jQuery-like PHP DOM\n   ```php\n   \u003c?php \n   include \"path/webparser.php\";\n   $doc = new WebParser();\n   $doc-\u003eloadHTMLFile($url);\n\n   $doc-\u003eQ(\"img\")-\u003ewrap(\"\u003cfigure\u003e\u003c/figure\u003e\");\n\n   $doc-\u003eoutput();\n   ?\u003e\n   ```\n\u003c/details\u003e\n\n\u003cdetails\u003e\n   \u003csummary\u003e\n      \u003cb\u003eAppending html\u003c/b\u003e\n   \u003c/summary\u003e\n\n   jQuery\n   ```html\n   \u003cscript\u003e\n   $(document).ready(function(){\n     $(\"ol\").append(\"\u003cli\u003eAppended item\u003c/li\u003e\");\n   });\n   \u003c/script\u003e\n   ```\n\n   jQuery-like PHP DOM\n   ```php\n   include \"path/webparser.php\";\n   $doc = new WebParser();\n   $doc-\u003eloadHTMLFile($url);\n\n   $doc-\u003eQ(\"ol\")-\u003eappend(\"\u003cli\u003eAppended item\u003c/li\u003e\");\n\n   $doc-\u003eoutput();\n   ```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n   \u003csummary\u003e\n      \u003cb\u003eChanging first \u0026lt;a\u0026gt; href\u003c/b\u003e\n   \u003c/summary\u003e\n\n   jQuery\n   ```html\n   \u003cscript\u003e\n   $(document).ready(function(){\n     $(\"a:first\").href(\"folder/index.html\");\n   });\n   \u003c/script\u003e\n   ```\n\n   jQuery-like PHP DOM\n   ```php\n   include \"path/webparser.php\";\n   $doc = new WebParser();\n   $doc-\u003eloadHTMLFile($url);\n\n   $doc-\u003eQ(\"a:first\")-\u003ehref(\"folder/index.html\");\n\n   $doc-\u003eoutput();\n   ```\n\n\u003c/details\u003e\n\n*For more examples and usage, please refer to the installation folder under [`manual`](manual/start.md).*\n\n## Release History\n\n* v1.0\n    * CHANGE: Initial release ready to be used\n\n## Meta\n\nFelipe Alves – felipejean2002@gmail.com\n\nDistributed under the MIT license. See ``LICENSE`` for more information.\n\n[https://github.com/felipe1234-dev/github-link](https://github.com/felipe1234-dev/)\n\n## Contributing\n\n1. Fork it (\u003chttps://github.com/felipe1234-dev/jquery-like-php-dom/fork\u003e)\n2. Create your feature branch (`git checkout -b feature/jquery-like-php-dom`)\n3. Commit your changes (`git commit -am 'Add some description'`)\n4. Push to the branch (`git push origin feature/jquery-like-php-dom`)\n5. Create a new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelipe1234-dev%2Fjquery-like-php-dom","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffelipe1234-dev%2Fjquery-like-php-dom","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelipe1234-dev%2Fjquery-like-php-dom/lists"}