PHPackages                             mcsodbrenner/googlecms - 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. [Database &amp; ORM](/categories/database)
4. /
5. mcsodbrenner/googlecms

ActiveLibrary[Database &amp; ORM](/categories/database)

mcsodbrenner/googlecms
======================

A PHP class that uses Google Spreadsheets as CMS.

1.0.1(10y ago)026MITPHP

Since Jan 20Pushed 10y ago1 watchersCompare

[ Source](https://github.com/McSodbrenner/googlecms)[ Packagist](https://packagist.org/packages/mcsodbrenner/googlecms)[ RSS](/packages/mcsodbrenner-googlecms/feed)WikiDiscussions master Synced today

READMEChangelog (2)DependenciesVersions (3)Used By (0)

GoogleCMS
=========

[](#googlecms)

A PHP class that uses Google Spreadsheets as CMS.

Use this spreadsheet as an example on how to construct a spreadsheet: [https://docs.google.com/spreadsheets/d/1LNvJWag9RNHiF6dtKSFVgYhbK\_y7jFa4C3UTI-RUiO0/edit#gid=0](https://docs.google.com/spreadsheets/d/1LNvJWag9RNHiF6dtKSFVgYhbK_y7jFa4C3UTI-RUiO0/edit#gid=0)

Take a look at the example that show the parsed result of the example sheet above.

Usage
-----

[](#usage)

```
// Extract this id from the URL of your spreadsheet
$spreadsheet_id = '1LNvJWag9RNHiF6dtKSFVgYhbK_y7jFa4C3UTI-RUiO0';

// With the Google Data API it is only possible to get one spreadsheet per request
// So we request all sheets in parallel
// Because Google prevents request flooding we build blocks of 10 requests that are excecuted in parallel.
// This parameter is optional (default = 10)
$request_block_size = 10;

include('src/GoogleCMS.php');
$cms = new McSodbrenner\GoogleCMS\GoogleCMS($spreadsheet_id, $request_block_size);

// Now we get the data. It is possible to build keys like "content1.subkey1" or "content1|subkey1" that are transformed into an array.
// This parameter is optional (default = '.')
$array_divider = '.';

$data = $cms->getData($array_divider);

print_r($data);

```

Hints
-----

[](#hints)

- If you have to content ids with the same name, the content is put into an array.
- Use `[IGNORE]` in front of a sheet name to ignore the sheet in the results.

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

Established project with proven stability

 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

Every ~0 days

Total

2

Last Release

3814d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1235262f987dbe469bf6f097f4014dd1fcfbd82fac986c46262f5ae1b2391a10?d=identicon)[McSodbrenner](/maintainers/McSodbrenner)

---

Top Contributors

[![McSodbrenner](https://avatars.githubusercontent.com/u/5136288?v=4)](https://github.com/McSodbrenner "McSodbrenner (11 commits)")

### Embed Badge

![Health badge](/badges/mcsodbrenner-googlecms/health.svg)

```
[![Health](https://phpackages.com/badges/mcsodbrenner-googlecms/health.svg)](https://phpackages.com/packages/mcsodbrenner-googlecms)
```

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k117.2M114](/packages/jdorn-sql-formatter)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8351.6M87](/packages/propel-propel1)[jfelder/oracledb

Oracle DB driver for Laravel

11518.4k](/packages/jfelder-oracledb)

PHPackages © 2026

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