PHPackages                             wearejust/kirby-sheets - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. wearejust/kirby-sheets

ActiveKirby-plugin[Utility &amp; Helpers](/categories/utility)

wearejust/kirby-sheets
======================

Kirby plugin to write data to Google Sheets

0.5(6y ago)127MITPHP

Since Feb 3Pushed 6y ago1 watchersCompare

[ Source](https://github.com/wearejust/wearejust-kirby-sheets)[ Packagist](https://packagist.org/packages/wearejust/kirby-sheets)[ RSS](/packages/wearejust-kirby-sheets/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (5)Dependencies (2)Versions (6)Used By (0)

A way to save records from Kirby3 to Google Sheets
==================================================

[](#a-way-to-save-records-from-kirby3-to-google-sheets)

Normally, Kirby doesn't provide a way to save data to a database. You can actually, with using the DB driver. The problem with this is that Kirby Panel doesn't provide an easy way to make this data viewable or exportable.

This package focuses on saving to an external system, namely Google Sheets.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require wearejust/kirby-sheets
```

Usage
-----

[](#usage)

You can save data to Google Sheets using the following code.

```
use Wearejust\KirbySheets\Connector;

$connector = new Connector();
$spreadsheetId = ID_OF_THE_GOOGLE_SPREADSHEET
$sheetName = NAME_OF_THE_TAB_IN_THE_GOOGLE_SPREADSHEET
$data = ['first_name' => 'Foo', 'last_name' => 'Bar'];

$connector->append($spreadsheetId, $sheetName, $data);
```

It is important that you first create a Google Secret auth file. This file is important because it sets some permissions stuff. You can create your auth file using this guide -&gt;

In your Kirby `config.php` file, you can set the path to the file:

```
...
    'wearejust/kirby-sheets' => [
        'authentication_file' => __DIR__ . '/../../google.prod.json',
    ],
...
```

### Usage with KirbyUniform

[](#usage-with-kirbyuniform)

Most the time, you will probably use Kirby Uniform. We've created an custom action using the following code:

```
...
    if ($kirby->request()->is('POST')) {
        $sheetName = 'TAB X';
        $spreadsheetId = 'SPREADSHEETID_OF_GOOGLE'

        $form
            ->action(new SaveToGoogleSheetsAction($form, [
                'spreadsheetId' => $spreadsheetId,
                'name' => $sheetName,
                'exclude' => ['gdpr'], // You can use the exclude option to exclude keys from the form data
            ]));

        return Header::redirect('/thanks');
    }
...
```

License
-------

[](#license)

The MIT License (MIT).

###  Health Score

24

—

LowBetter than 30% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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

Every ~1 days

Total

5

Last Release

2385d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/bef9d0ea8588b933583205c0891a6b2ca95d96cf7544a1fb336a2cdb8ea3e830?d=identicon)[ceesvanegmond](/maintainers/ceesvanegmond)

---

Top Contributors

[![ceesvanegmond](https://avatars.githubusercontent.com/u/883497?v=4)](https://github.com/ceesvanegmond "ceesvanegmond (6 commits)")

### Embed Badge

![Health badge](/badges/wearejust-kirby-sheets/health.svg)

```
[![Health](https://phpackages.com/badges/wearejust-kirby-sheets/health.svg)](https://phpackages.com/packages/wearejust-kirby-sheets)
```

###  Alternatives

[getkirby/cms

The Kirby core

1.5k606.6k542](/packages/getkirby-cms)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

86337.5k](/packages/flow-php-flow)[medienbaecker/kirby-modules

Easily add modules to your pages

895.6k1](/packages/medienbaecker-kirby-modules)[fabianmichael/kirby-meta

Your all-in-one powerhouse for any SEO and metadata needs imaginable.

7011.8k1](/packages/fabianmichael-kirby-meta)[tobimori/kirby-dreamform

Kirby DreamForm is an opiniated form builder plugin for Kirby CMS 4+ that makes forms work like magic

6012.6k1](/packages/tobimori-kirby-dreamform)[medienbaecker/kirby-alter

262.5k](/packages/medienbaecker-kirby-alter)

PHPackages © 2026

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