Download the PHP package bnomei/kirby3-page-sqlite without Composer
On this page you can find all versions of the php package bnomei/kirby3-page-sqlite. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bnomei/kirby3-page-sqlite
More information about bnomei/kirby3-page-sqlite
Files in bnomei/kirby3-page-sqlite
Package kirby3-page-sqlite
Short Description Kirby 3 Plugin to cache the content file using SQLite
License MIT
Informations about the package kirby3-page-sqlite
ARCHIVED
use Kirby3 Boost instead
Kirby 3 Page SQLite
Kirby 3 Plugin to cache the content file using SQLite
Commercial Usage
This plugin is free (MIT license) but if you use it in a commercial project please consider to
Installation
- unzip 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
orcomposer require bnomei/kirby3-page-sqlite
Usage
To use this plugin create 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
TIP: If you set Kirbys global debug option to
true
all cached Content-Files will be flushed.
site/templates/example.php
Settings
bnomei.page-sqlite. | Default | Description |
---|---|---|
file | callback |
Dependencies
- PHP SQLite extension
Disclaimer
This plugin is provided "as is" with no guarantee. Use it at your own risk and always test it yourself before using it in a production environment. If you find any issues, please create a new issue.
License
It is discouraged to use this plugin in any project that promotes racism, sexism, homophobia, animal abuse, violence or any other form of hate speech.