{"id":23050326,"url":"https://github.com/wsdltophp/domhandler","last_synced_at":"2025-08-15T03:31:16.619Z","repository":{"id":57082547,"uuid":"87977980","full_name":"WsdlToPhp/DomHandler","owner":"WsdlToPhp","description":"Decorative design pattern to ease DOM handling","archived":false,"fork":false,"pushed_at":"2022-12-23T13:07:58.000Z","size":91,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2024-11-23T00:14:36.653Z","etag":null,"topics":["decorator","decorator-pattern","dom","dom-handler","domhandler","php-library","xml"],"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/WsdlToPhp.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-11T20:48:47.000Z","updated_at":"2023-01-30T13:40:16.000Z","dependencies_parsed_at":"2023-01-30T18:31:04.005Z","dependency_job_id":null,"html_url":"https://github.com/WsdlToPhp/DomHandler","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WsdlToPhp%2FDomHandler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WsdlToPhp%2FDomHandler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WsdlToPhp%2FDomHandler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WsdlToPhp%2FDomHandler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WsdlToPhp","download_url":"https://codeload.github.com/WsdlToPhp/DomHandler/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229890140,"owners_count":18140041,"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":["decorator","decorator-pattern","dom","dom-handler","domhandler","php-library","xml"],"created_at":"2024-12-15T23:31:47.432Z","updated_at":"2024-12-15T23:31:47.995Z","avatar_url":"https://github.com/WsdlToPhp.png","language":"PHP","readme":"# DOM Handler\n\n\u003e DOM Handler provides handful methods to manipulate/browse a DOM Document.\n\n[![License](https://poser.pugx.org/wsdltophp/domhandler/license)](https://packagist.org/packages/wsdltophp/domhandler)\n[![Latest Stable Version](https://poser.pugx.org/wsdltophp/domhandler/version.png)](https://packagist.org/packages/wsdltophp/domhandler)\n[![TeamCity build status](https://teamcity.mikael-delsol.fr/app/rest/builds/buildType:id:WsdlHandler_Build/statusIcon.svg)](https://github.com/WsdlToPhp/DomHandler)\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/WsdlToPhp/DomHandler/badges/quality-score.png)](https://scrutinizer-ci.com/g/WsdlToPhp/DomHandler/)\n[![Code Coverage](https://scrutinizer-ci.com/g/WsdlToPhp/DomHandler/badges/coverage.png)](https://scrutinizer-ci.com/g/WsdlToPhp/DomHandler/)\n[![Total Downloads](https://poser.pugx.org/wsdltophp/domhandler/downloads)](https://packagist.org/packages/wsdltophp/domhandler)\n[![StyleCI](https://styleci.io/repos/87977980/shield)](https://styleci.io/repos/87977980)\n[![SymfonyInsight](https://insight.symfony.com/projects/93e73feb-60bc-4e99-a3ce-87e537c61fed/mini.svg)](https://insight.symfony.com/projects/93e73feb-60bc-4e99-a3ce-87e537c61fed)\n\nDomHandler uses the [decorator design pattern](https://en.wikipedia.org/wiki/Decorator_pattern) in order to ease DOM handling.\n\nThe source code has been originally created into the [PackageGenerator](https://github.com/WsdlToPhp/PackageGenerator) project but it felt that it had the possibility to live by itself and to evolve independtly from the PackageGenerator project if necessary.\n\n## Testing using [Docker](https://www.docker.com/)\nThanks to the [Docker image](https://hub.docker.com/r/splitbrain/phpfarm) of [phpfarm](https://github.com/fpoirotte/phpfarm), tests can be run locally under *any* PHP version using the cli:\n- php-7.4\n\nFirst of all, you need to create your container which you can do using [docker-compose](https://docs.docker.com/compose/) by running the below command line from the root directory of the project:\n```bash\n$ docker-compose up -d --build\n```\n\nYou then have a container named `dom_handler` in which you can run `composer` commands and `php cli` commands such as:\n```bash\n# install deps in container (using update ensure it does use the composer.lock file if there is any)\n$ docker exec -it dom_handler php-7.4 /usr/bin/composer update\n# run tests in container\n$ docker exec -it dom_handler php-7.4 -dmemory_limit=-1 vendor/bin/phpunit\n```\n\n## Contributing\n\nPlease see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.\n\n## Credits\n\nDevelopers who helped on this project are listed in the [composer.json](composer.json#L8) file as `Contributor` and are:\n- [phordijk](https://github.com/phordijk)\n\n## FAQ\n\nFeel free to [create an issue](https://github.com/WsdlToPhp/DomHandler/issues/new).\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE) for more information.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwsdltophp%2Fdomhandler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwsdltophp%2Fdomhandler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwsdltophp%2Fdomhandler/lists"}