{"id":42775079,"url":"https://github.com/easybill/zugferd-php","last_synced_at":"2026-04-16T20:04:37.633Z","repository":{"id":8478927,"uuid":"58549398","full_name":"easybill/zugferd-php","owner":"easybill","description":"ZUGFeRD PHP SDK (Factur-X, XRechnung)","archived":false,"fork":false,"pushed_at":"2026-01-12T07:56:11.000Z","size":6504,"stargazers_count":92,"open_issues_count":2,"forks_count":35,"subscribers_count":16,"default_branch":"master","last_synced_at":"2026-01-12T17:51:53.511Z","etag":null,"topics":["factur-x","xrechnung","zugferd","zugferd-php"],"latest_commit_sha":null,"homepage":"https://www.easybill.de","language":"XSLT","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/easybill.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2016-05-11T13:53:34.000Z","updated_at":"2026-01-12T09:47:04.000Z","dependencies_parsed_at":"2026-01-07T06:07:31.047Z","dependency_job_id":null,"html_url":"https://github.com/easybill/zugferd-php","commit_stats":{"total_commits":139,"total_committers":13,"mean_commits":"10.692307692307692","dds":0.5035971223021583,"last_synced_commit":"d7d763d794f30efa1ae0a9882b7857cc7326fa28"},"previous_names":[],"tags_count":45,"template":false,"template_full_name":null,"purl":"pkg:github/easybill/zugferd-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easybill%2Fzugferd-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easybill%2Fzugferd-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easybill%2Fzugferd-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easybill%2Fzugferd-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/easybill","download_url":"https://codeload.github.com/easybill/zugferd-php/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easybill%2Fzugferd-php/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28886886,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T21:06:44.224Z","status":"ssl_error","status_checked_at":"2026-01-29T21:06:42.160Z","response_time":59,"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":["factur-x","xrechnung","zugferd","zugferd-php"],"created_at":"2026-01-29T22:05:30.795Z","updated_at":"2026-01-29T22:05:31.524Z","avatar_url":"https://github.com/easybill.png","language":"XSLT","funding_links":[],"categories":[],"sub_categories":[],"readme":"ZUGFeRD PHP\n===========\n\n[![Latest Stable Version](https://poser.pugx.org/easybill/zugferd-php/v/stable.png)](https://packagist.org/packages/easybill/zugferd-php) [![Total Downloads](https://poser.pugx.org/easybill/zugferd-php/downloads.png)](https://packagist.org/packages/easybill/zugferd-php)[![License](https://poser.pugx.org/easybill/zugferd-php/license.png)](https://packagist.org/packages/easybill/zugferd-php)\n\nZUGFeRD PHP SDK (Factur-X, XRechnung) - Convert PHP Objects to XML and back.\n\n[Look @ Tests for more details](tests)\n\n## Installation\nThe recommended way of installing this library is using [Composer](http://getcomposer.org/). \n\nAdd this repository to your composer information using the following command\n\n```bash\ncomposer require easybill/zugferd-php\n```\n\n## Usage ZUGFeRD v1\n\nConvert XML to PHP Objects:\n\n```php\nuse Easybill\\ZUGFeRD\\Reader;\n\n$document = Reader::create()-\u003egetDocument('zugferd-file.xml');\necho $document-\u003egetHeader()-\u003egetId(); // Get invoice No.\n```\n\nConvert PHP Objects to XML:\n\n```php\nuse Easybill\\ZUGFeRD\\Builder;\nuse Easybill\\ZUGFeRD\\Model\\Document;\n \n$doc = new Document(Document::TYPE_COMFORT);\n$doc-\u003egetHeader()-\u003esetId('RE1337'); // Set invoice No.\n\n$xml = Builder::create()-\u003egetXML($doc);\necho $xml; // Zugferd XML.\n```\n\n## Usage ZUGFeRD v2\n\nConvert XML to PHP Objects:\n\n```php\nuse Easybill\\ZUGFeRD2\\Reader;\n\n$xml = file_get_contents('factur-x.xml');\n$obj = Reader::create()-\u003etransform($xml);\n```\n\nConvert PHP Objects to XML:\n\n```php\nuse Easybill\\ZUGFeRD2\\Builder;\n \n$obj = ...;\n\n$xml = Builder::create()-\u003etransform($obj);\necho $xml; // Zugferd XML.\n```\n\n## Contributing\n\nPlease feel free to send bug reports and pull requests.\n\n## License\n\nPublished as open source under the terms of [MIT License](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feasybill%2Fzugferd-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feasybill%2Fzugferd-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feasybill%2Fzugferd-php/lists"}