{"id":36989559,"url":"https://github.com/vdhicts/xml-validator","last_synced_at":"2026-01-13T23:30:30.955Z","repository":{"id":44586004,"uuid":"138716903","full_name":"vdhicts/xml-validator","owner":"vdhicts","description":"Validate your XML easily to a XSD schema","archived":false,"fork":false,"pushed_at":"2022-02-06T20:06:01.000Z","size":22,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-22T06:09:00.106Z","etag":null,"topics":["php","validation","xml","xsd"],"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/vdhicts.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":"2018-06-26T09:39:47.000Z","updated_at":"2025-01-21T09:15:34.000Z","dependencies_parsed_at":"2022-09-16T09:11:05.200Z","dependency_job_id":null,"html_url":"https://github.com/vdhicts/xml-validator","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/vdhicts/xml-validator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vdhicts%2Fxml-validator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vdhicts%2Fxml-validator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vdhicts%2Fxml-validator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vdhicts%2Fxml-validator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vdhicts","download_url":"https://codeload.github.com/vdhicts/xml-validator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vdhicts%2Fxml-validator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28405135,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T21:51:37.118Z","status":"ssl_error","status_checked_at":"2026-01-13T21:45:14.585Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["php","validation","xml","xsd"],"created_at":"2026-01-13T23:30:30.367Z","updated_at":"2026-01-13T23:30:30.947Z","avatar_url":"https://github.com/vdhicts.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# XML Validator\n\nValidate your XML easily. The main purpose is to validate the XML to a XSD schema, but (basic) validation without a \nschema is possible too.\n\n```php\n$validator = new Validator();\n\n// Validate with a XSD schema\n$result = $validator-\u003evalidate('books.xml', 'books.xsd');\n\n// Or validate without a XSD schema\n$result = $validator-\u003evalidate('books.xml');\n\n// Retrieve any errors\nif (!$result-\u003eisValid()) {\n    $errors = $result-\u003egetErrors();\n}\n```\n\n## Requirements\n\nThis package requires PHP 7.4 or higher with the libxml extension (which is enabled by default).\n\n## Installation\n\n```php\ncomposer require vdhicts/xml-validator\n```\n\n## Tests\n\nFull code coverage unit tests are available in the `tests` folder. Run via phpunit:\n\n`vendor\\bin\\phpunit`\n\nBy default a coverage report will be generated in the `build/coverage` folder.\n\n## Contribution\n\nAny contribution is welcome, but it should be fully tested, meet the PSR-2 standard and please create one pull request \nper feature. In exchange you will be credited as contributor on this page.\n\n## Security\n\nIf you discover any security related issues in this or other packages of Vdhicts, please email security@vdhicts.nl \ninstead of using the issue tracker.\n\n## License\n\nThis package is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)\n\n## About vdhicts\n\n[Vdhicts](https://www.vdhicts.nl) is the name of my personal company. Vdhicts develops and implements IT solutions for\nbusinesses and educational institutions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvdhicts%2Fxml-validator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvdhicts%2Fxml-validator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvdhicts%2Fxml-validator/lists"}