{"id":15296310,"url":"https://github.com/librecodecoop/doctotext","last_synced_at":"2025-04-13T19:41:51.125Z","repository":{"id":62520769,"uuid":"277407099","full_name":"LibreCodeCoop/doctotext","owner":"LibreCodeCoop","description":"Convert doc to text, wrapper to libreoffice","archived":false,"fork":false,"pushed_at":"2021-06-28T23:15:09.000Z","size":35,"stargazers_count":7,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-27T10:21:20.952Z","etag":null,"topics":["composer","libreoffice","libreoffice-writer","php","php7","wordcount","wordcounter"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LibreCodeCoop.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":"2020-07-06T00:30:37.000Z","updated_at":"2023-03-01T08:19:13.000Z","dependencies_parsed_at":"2022-11-02T13:32:12.403Z","dependency_job_id":null,"html_url":"https://github.com/LibreCodeCoop/doctotext","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/LibreCodeCoop%2Fdoctotext","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LibreCodeCoop%2Fdoctotext/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LibreCodeCoop%2Fdoctotext/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LibreCodeCoop%2Fdoctotext/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LibreCodeCoop","download_url":"https://codeload.github.com/LibreCodeCoop/doctotext/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248770771,"owners_count":21159033,"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":["composer","libreoffice","libreoffice-writer","php","php7","wordcount","wordcounter"],"created_at":"2024-09-30T18:10:01.929Z","updated_at":"2025-04-13T19:41:51.102Z","avatar_url":"https://github.com/LibreCodeCoop.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Convert doc to text\n\n## Setup\n\n```bash\nsudo apt-get update\nsudo apt-get install libreoffice-writer\ncomposer require librecodecoop/doctotext\n```\n\n## Use\n\n```php\n\u003c?php\n\nuse DocToText\\DocToText;\n\n$docFile = 'document.doc';\n$outputDir = '/tmp';\n$doctotext = new DocToText($docFile, $outputDir));\necho \"Text:\" . PHP_EOL;\necho $doctotext-\u003egetText();\necho \"Total words:\" . PHP_EOL;\necho $doctotext-\u003ecount();\n```\n\n## Explain\n\nThis package is a wrapper to libreoffice.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibrecodecoop%2Fdoctotext","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flibrecodecoop%2Fdoctotext","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibrecodecoop%2Fdoctotext/lists"}