{"id":17492132,"url":"https://github.com/jupitern/docx","last_synced_at":"2026-03-10T06:02:38.209Z","repository":{"id":57003129,"uuid":"51748061","full_name":"jupitern/docx","owner":"jupitern","description":"docx tools - template engine, merge docx files","archived":false,"fork":false,"pushed_at":"2025-02-28T18:44:29.000Z","size":29,"stargazers_count":16,"open_issues_count":2,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-18T03:36:37.980Z","etag":null,"topics":["docx","docx-template","php","php-docx"],"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/jupitern.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}},"created_at":"2016-02-15T10:27:17.000Z","updated_at":"2025-10-06T09:00:15.000Z","dependencies_parsed_at":"2025-04-22T20:17:01.717Z","dependency_job_id":"87378338-732b-4d54-9944-6117a53b2a40","html_url":"https://github.com/jupitern/docx","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/jupitern/docx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jupitern%2Fdocx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jupitern%2Fdocx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jupitern%2Fdocx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jupitern%2Fdocx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jupitern","download_url":"https://codeload.github.com/jupitern/docx/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jupitern%2Fdocx/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30326878,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T05:25:20.737Z","status":"ssl_error","status_checked_at":"2026-03-10T05:25:17.430Z","response_time":106,"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":["docx","docx-template","php","php-docx"],"created_at":"2024-10-19T08:08:02.960Z","updated_at":"2026-03-10T06:02:38.175Z","avatar_url":"https://github.com/jupitern.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jupitern/docx\n#### PHP Docx tolls.\n\n- docx template system\n- merge docx files on one file\n- optionally add page break between merged files\n\n## Requirements\n\nPHP 5.4 or higher.\n\n## Installation\n\nInclude jupitern/docx in your project, by adding it to your composer.json file.\n```javascript\n{\n    \"require\": {\n        \"jupitern/docx\": \"1.*\"\n    }\n}\n```\n\n## Usage\n```php\n$dir = 'C:\\\\www\\\\docx\\\\';\n\n// Docx template\n$docx = \\Jupitern\\Docx\\Docx::instance()\n\t\t\t-\u003esetTemplate($dir.'template.docx')\n\t\t\t-\u003esetData(['{name}' =\u003e 'john doe', '{address}' =\u003e 'at the end of the road'])\n\t\t\t-\u003esave($dir.'result.docx');\n\n// Merge Docx files\n$docxMerge = \\Jupitern\\Docx\\DocxMerge::instance()\n    // add array of files to merge\n\t-\u003eaddFiles([$dir.'file1.docx', $dir.'file2.docx'])\n    // output filepath and pagebreak param\n\t-\u003esave($dir.'result.docx', true);\n\n```\n\n## Contributing\n\n - welcome to discuss a bugs, features and ideas.\n\n## License\n\njupitern/docx is release under the MIT license.\n\nYou are free to use, modify and distribute this software\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjupitern%2Fdocx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjupitern%2Fdocx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjupitern%2Fdocx/lists"}