PHPackages                             tomzx/gdocs-to-markdown - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. tomzx/gdocs-to-markdown

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

tomzx/gdocs-to-markdown
=======================

Google documents to markdown exporter

v0.1.0(10y ago)111[1 issues](https://github.com/tomzx/gdocs-to-markdown/issues)MITPHPPHP &gt;=5.4.0

Since Jan 19Pushed 10y ago2 watchersCompare

[ Source](https://github.com/tomzx/gdocs-to-markdown)[ Packagist](https://packagist.org/packages/tomzx/gdocs-to-markdown)[ Docs](https://github.com/tomzx/gdocs-to-markdown)[ RSS](/packages/tomzx-gdocs-to-markdown/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (2)Used By (0)

Google Docs to markdown
=======================

[](#google-docs-to-markdown)

[![License](https://camo.githubusercontent.com/0e4e15e330fa26db2ca2dc678cad120498649fd9c306c67d97878c6c76cb82bd/68747470733a2f2f706f7365722e707567782e6f72672f746f6d7a782f67646f63732d746f2d6d61726b646f776e2f6c6963656e73652e737667)](https://packagist.org/packages/tomzx/gdocs-to-markdown)[![Latest Stable Version](https://camo.githubusercontent.com/2ed684b4fd16ce40b7f4156bbb54949a76598f0199cd2745cfd1da56cdef6033/68747470733a2f2f706f7365722e707567782e6f72672f746f6d7a782f67646f63732d746f2d6d61726b646f776e2f762f737461626c652e737667)](https://packagist.org/packages/tomzx/gdocs-to-markdown)[![Latest Unstable Version](https://camo.githubusercontent.com/24c42bdd06b873c095d6927bb088e7af4691796a75cf26e20d5b7faed8b0e3cb/68747470733a2f2f706f7365722e707567782e6f72672f746f6d7a782f67646f63732d746f2d6d61726b646f776e2f762f756e737461626c652e737667)](https://packagist.org/packages/tomzx/gdocs-to-markdown)[![Build Status](https://camo.githubusercontent.com/036c4705d86bd9cd4ad04c4f7003a6fcfff3a5f9a5f4172f7265faee02676723/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f746f6d7a782f67646f63732d746f2d6d61726b646f776e2e737667)](https://travis-ci.org/tomzx/gdocs-to-markdown)[![Code Quality](https://camo.githubusercontent.com/5363f7f8965ebaff436f96f038fd888e558fc409ccb60575b2df28b9107284ca/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f746f6d7a782f67646f63732d746f2d6d61726b646f776e2e737667)](https://scrutinizer-ci.com/g/tomzx/gdocs-to-markdown/code-structure)[![Code Coverage](https://camo.githubusercontent.com/f9a37ca39226d255a01f36e6549581a86cd05c1c1d4a4c21e2291f2b54e15312/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f746f6d7a782f67646f63732d746f2d6d61726b646f776e2e737667)](https://scrutinizer-ci.com/g/tomzx/gdocs-to-markdown)[![Total Downloads](https://camo.githubusercontent.com/4c34f78a066a8007fa643cd452752cdd6ad761f8d6f26e4fca07920d239fd551/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746f6d7a782f67646f63732d746f2d6d61726b646f776e2e737667)](https://packagist.org/packages/tomzx/gdocs-to-markdown)

A simple application which lets you export files from a specific folder in Google Drive into markdown.

Getting started
---------------

[](#getting-started)

1. Create a `google-documents-exporter.p12` at the root of the application which can be obtained by following [this guide](https://developers.google.com/api-client-library/php/auth/service-accounts#creatinganaccount).
2. Run `php export.php $random@developer.gserviceaccount.com $folderId`, where `$random@developer.gserviceaccount.com` ìs the service account account which can be obtained through the `Google's Developers Console - Permissions` and `$folderId` is the identifier of the folder you want to convert to markdown. All the documents in subfolders will be converted to markdown as well. You can find the final output in the `output` directory.

License
-------

[](#license)

The code is licensed under the [MIT license](http://choosealicense.com/licenses/mit/). See [LICENSE](LICENSE).

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3763d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/218f6db237e6937c05550d4d6df648f50cd9b26b098fc8c1be3930fe7d5c71e9?d=identicon)[tomzx](/maintainers/tomzx)

---

Top Contributors

[![tomzx](https://avatars.githubusercontent.com/u/188960?v=4)](https://github.com/tomzx "tomzx (10 commits)")

---

Tags

markdowngoogle-docs

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/tomzx-gdocs-to-markdown/health.svg)

```
[![Health](https://phpackages.com/badges/tomzx-gdocs-to-markdown/health.svg)](https://phpackages.com/packages/tomzx-gdocs-to-markdown)
```

###  Alternatives

[erusev/parsedown

Parser for Markdown.

15.0k151.8M727](/packages/erusev-parsedown)[league/commonmark

Highly-extensible PHP Markdown parser which fully supports the CommonMark spec and GitHub-Flavored Markdown (GFM)

2.9k404.0M700](/packages/league-commonmark)[michelf/php-markdown

PHP Markdown

3.5k52.4M344](/packages/michelf-php-markdown)[league/html-to-markdown

An HTML-to-markdown conversion helper for PHP

1.9k28.6M196](/packages/league-html-to-markdown)[cebe/markdown

A super fast, highly extensible markdown parser for PHP

1.0k32.5M136](/packages/cebe-markdown)[spatie/laravel-markdown-response

Serve markdown versions of your HTML pages to AI agents and bots

6512.6k](/packages/spatie-laravel-markdown-response)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
