PHPackages                             bnomei/kirby3-page-sqlite - 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. bnomei/kirby3-page-sqlite

AbandonedArchivedKirby-plugin[Database &amp; ORM](/categories/database)

bnomei/kirby3-page-sqlite
=========================

Kirby 3 Plugin to cache the content file using SQLite

1.2.2(5y ago)053MITPHPPHP &gt;=7.2.0

Since Aug 13Pushed 4y ago1 watchersCompare

[ Source](https://github.com/bnomei/kirby3-page-sqlite)[ Packagist](https://packagist.org/packages/bnomei/kirby3-page-sqlite)[ GitHub Sponsors](https://github.com/bnomei)[ RSS](/packages/bnomei-kirby3-page-sqlite/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (4)Versions (14)Used By (0)

> ### ARCHIVED
>
> [](#archived)
>
> #### use [Kirby3 Boost](https://github.com/bnomei/kirby3-boost) instead
>
> [](#use-kirby3-boost-instead)

Kirby 3 Page SQLite
===================

[](#kirby-3-page-sqlite)

[![Release](https://camo.githubusercontent.com/f12de68931131f899a0d925e5936ca7d5bcba2ab7db42c317162b8baf35e02a7/68747470733a2f2f666c61742e62616467656e2e6e65742f7061636b61676973742f762f626e6f6d65692f6b69726279332d706167652d73716c6974653f636f6c6f723d616538316666)](https://camo.githubusercontent.com/f12de68931131f899a0d925e5936ca7d5bcba2ab7db42c317162b8baf35e02a7/68747470733a2f2f666c61742e62616467656e2e6e65742f7061636b61676973742f762f626e6f6d65692f6b69726279332d706167652d73716c6974653f636f6c6f723d616538316666)[![Downloads](https://camo.githubusercontent.com/5b8d166e7bb8eb7a89400ac48af769d3d9a37cc298455e0e39588458cc96f323/68747470733a2f2f666c61742e62616467656e2e6e65742f7061636b61676973742f64742f626e6f6d65692f6b69726279332d706167652d73716c6974653f636f6c6f723d323732383232)](https://camo.githubusercontent.com/5b8d166e7bb8eb7a89400ac48af769d3d9a37cc298455e0e39588458cc96f323/68747470733a2f2f666c61742e62616467656e2e6e65742f7061636b61676973742f64742f626e6f6d65692f6b69726279332d706167652d73716c6974653f636f6c6f723d323732383232)[![Build Status](https://camo.githubusercontent.com/29d935564fa9fbf2d205118badf2330b033f66a6fd2abf2427747980ab5b6ed2/68747470733a2f2f666c61742e62616467656e2e6e65742f7472617669732f626e6f6d65692f6b69726279332d706167652d73716c697465)](https://travis-ci.com/bnomei/kirby3-page-sqlite)[![Coverage Status](https://camo.githubusercontent.com/8d2a9c430ed5161cb184ce5852cda4a478e4ab4d6e1cc62f82f7e4f1487080b8/68747470733a2f2f666c61742e62616467656e2e6e65742f636f766572616c6c732f632f6769746875622f626e6f6d65692f6b69726279332d706167652d73716c697465)](https://coveralls.io/github/bnomei/kirby3-page-sqlite)[![Maintainability](https://camo.githubusercontent.com/b2c86079f796bd8a7b81d73030e94319c2de4ce622ff70d1060f22f8c2b8ed2d/68747470733a2f2f666c61742e62616467656e2e6e65742f636f6465636c696d6174652f6d61696e7461696e6162696c6974792f626e6f6d65692f6b69726279332d706167652d73716c697465)](https://codeclimate.com/github/bnomei/kirby3-page-sqlite)[![Twitter](https://camo.githubusercontent.com/b90e4b58a887e8ad09ec267628b75199a48522a9e01e88b129e5d2d730dffe50/68747470733a2f2f666c61742e62616467656e2e6e65742f62616467652f747769747465722f626e6f6d65693f636f6c6f723d363664396566)](https://twitter.com/bnomei)

Kirby 3 Plugin to cache the content file using SQLite

Commercial Usage
----------------

[](#commercial-usage)

This plugin is free (MIT license) but if you use it in a commercial project please consider to

- [make a donation 🍻](https://www.paypal.me/bnomei/5) or
- [buy me ☕](https://buymeacoff.ee/bnomei) or
- [buy a Kirby license using this affiliate link](https://a.paddle.com/v2/click/1129/35731?link=1170)

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

[](#installation)

- unzip [master.zip](https://github.com/bnomei/kirby3-page-sqlite/archive/master.zip) as folder `site/plugins/kirby3-page-sqlite` or
- `git submodule add https://github.com/bnomei/kirby3-page-sqlite.git site/plugins/kirby3-page-sqlite` or
- `composer require bnomei/kirby3-page-sqlite`

### Usage

[](#usage)

To use this plugin create [Page-Models](https://getkirby.com/docs/guide/templates/page-models) and extend the `\Bnomei\SQLitePage` class. This will read and write a **copy** of your Content-File to and from a SQLite database. The plugin will automatically keep track of the modified timestamp.

**site/models/example.php**

```
