{"id":37270070,"url":"https://github.com/ncjoes/office-converter","last_synced_at":"2026-03-03T21:03:06.182Z","repository":{"id":42243946,"uuid":"73590010","full_name":"ncjoes/office-converter","owner":"ncjoes","description":"PHP Wrapper for LibreOffice","archived":false,"fork":false,"pushed_at":"2024-11-06T18:16:13.000Z","size":141,"stargazers_count":241,"open_issues_count":28,"forks_count":84,"subscribers_count":11,"default_branch":"master","last_synced_at":"2026-02-22T18:11:32.443Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/ncjoes.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-11-13T02:02:42.000Z","updated_at":"2025-12-27T22:47:39.000Z","dependencies_parsed_at":"2024-06-18T13:53:07.316Z","dependency_job_id":null,"html_url":"https://github.com/ncjoes/office-converter","commit_stats":{"total_commits":50,"total_committers":17,"mean_commits":"2.9411764705882355","dds":0.76,"last_synced_commit":"f82ab2c63ff7e21eaffcf3e3ba0444a5c0f0a568"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/ncjoes/office-converter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ncjoes%2Foffice-converter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ncjoes%2Foffice-converter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ncjoes%2Foffice-converter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ncjoes%2Foffice-converter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ncjoes","download_url":"https://codeload.github.com/ncjoes/office-converter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ncjoes%2Foffice-converter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30060681,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-03T18:21:05.932Z","status":"ssl_error","status_checked_at":"2026-03-03T18:20:59.341Z","response_time":61,"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":[],"created_at":"2026-01-16T00:40:43.298Z","updated_at":"2026-03-03T21:03:06.177Z","avatar_url":"https://github.com/ncjoes.png","language":"PHP","funding_links":[],"categories":["Table of Contents"],"sub_categories":["Globalization"],"readme":"# Office Converter\n#### PHP Wrapper for LibreOffice\n\nConvert offices files to PDF and HTML using LibreOffice or OpenOffice.\nSupported conversion formats include:\n\n* pptx =\u003e pdf\n* ppt =\u003e pdf\n* pdf =\u003e pdf\n* docx =\u003e pdf, odt, html\n* doc =\u003e pdf, odt, html\n* xlsx =\u003e pdf\n* xls =\u003e pdf\n* png =\u003e pdf\n* jpg =\u003e pdf\n* jpeg =\u003e pdf\n\n### Installation\n\nIt is recommended to install OfficeConverter through [Composer](http://getcomposer.org/).\n\nRun this command within your project directory\n\n```shell\ncomposer require ncjoes/office-converter\n```\n\n### Dependencies\nIn order to use OfficeConverter, you need to install [LibreOffice](http://www.libreoffice.org/).\n\n### Usage\n\nHere are some samples.\n\n```php\n\u003c?php\n// if you are using composer, just use this\nuse NcJoes\\OfficeConverter\\OfficeConverter;\n\n$converter = new OfficeConverter('test-file.docx');\n$converter-\u003econvertTo('output-file.pdf'); //generates pdf file in same directory as test-file.docx\n$converter-\u003econvertTo('output-file.html'); //generates html file in same directory as test-file.docx\n\n//to specify output directory, specify it as the second argument to the constructor\n$converter = new OfficeConverter('test-file.docx', 'path-to-outdir');\n?\u003e\n```\n\n### License\nThe OfficeConverter package is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).\n\n### Feedback \u0026 Contribute\n\nNotify me of any issues, bugs, or improvements. Thanks :+1:\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fncjoes%2Foffice-converter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fncjoes%2Foffice-converter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fncjoes%2Foffice-converter/lists"}