{"id":23529900,"url":"https://github.com/mnvx/unoconv","last_synced_at":"2025-04-22T17:24:41.568Z","repository":{"id":57018545,"uuid":"78970833","full_name":"mnvx/unoconv","owner":"mnvx","description":"PHP wrapper over Unoconv","archived":false,"fork":false,"pushed_at":"2024-01-29T05:03:16.000Z","size":628,"stargazers_count":3,"open_issues_count":2,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-29T17:11:35.221Z","etag":null,"topics":["docx","docx-generator","html","libreoffice-converter","pdf","pdf-generation","unoconv"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mnvx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-14T22:35:59.000Z","updated_at":"2022-03-30T07:44:58.000Z","dependencies_parsed_at":"2022-08-22T12:00:22.049Z","dependency_job_id":null,"html_url":"https://github.com/mnvx/unoconv","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnvx%2Funoconv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnvx%2Funoconv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnvx%2Funoconv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnvx%2Funoconv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mnvx","download_url":"https://codeload.github.com/mnvx/unoconv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249709329,"owners_count":21313947,"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":["docx","docx-generator","html","libreoffice-converter","pdf","pdf-generation","unoconv"],"created_at":"2024-12-25T21:14:09.634Z","updated_at":"2025-04-22T17:24:41.526Z","avatar_url":"https://github.com/mnvx.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PHP wrapper over Unoconv\nSimple way for documents conversion into various formats.\n\nFor example: html -\u003e docx, html -\u003e pdf, docx -\u003e html and many more.\n\nMore about [supported formats](http://dag.wiee.rs/home-made/unoconv/).\n\n## Usage\n\n```\nuse Mnvx\\Unoconv\\Converter;\nuse Mnvx\\Unoconv\\UnoconvParameters;\nuse Mnvx\\Unoconv\\Format;\n\n// Create converter\n$converter = new Converter();\n\n// Describe parameters for converter\n$parameters = (new UnoconvParameters())\n    // HTML document as string on input\n    -\u003esetInputStream('\u003c!DOCTYPE html\u003e\u003chtml\u003eExample of HTML document\u003c/html\u003e')\n    // Result file name\n    -\u003esetOutputFile('path-to-result-docx.docx')\n    // Format of result document is docx\n    -\u003esetOutputFormat(Format::FORMAT_TEXT_DOCX);\n\n// Run converter\n$converter-\u003econvert($parameters);\n```\n\n## Install\n\n```\nsudo apt-get install unoconv\ncomposer require mnvx/unoconv\n```\n\nIf you have problems with Unoconv utility, read instructions descibed \nin [official documentation](https://github.com/dagwieers/unoconv#problems-running-unoconv-from-nginxapachephp).\n\n## License\n\nReleased under the MIT license","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmnvx%2Funoconv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmnvx%2Funoconv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmnvx%2Funoconv/lists"}