PHPackages                             francescozanoni/zend-cache-sqlite3-pdo - 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. francescozanoni/zend-cache-sqlite3-pdo

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

francescozanoni/zend-cache-sqlite3-pdo
======================================

SQLite 3 cache engine for Zend Framework 1, based on PDO driver

v1.0.2(8y ago)033MITPHPPHP &gt;=5.3

Since Nov 17Pushed 8y ago1 watchersCompare

[ Source](https://github.com/francescozanoni/zend-cache-sqlite3-pdo)[ Packagist](https://packagist.org/packages/francescozanoni/zend-cache-sqlite3-pdo)[ RSS](/packages/francescozanoni-zend-cache-sqlite3-pdo/feed)WikiDiscussions master Synced today

READMEChangelog (3)Dependencies (2)Versions (4)Used By (0)

SQLite 3 cache engine for Zend Framework 1 (PDO driver) [![Build Status](https://camo.githubusercontent.com/18cf7783a54fc3e434fcd5510bd5dfdda0bbc2f103cfa9f459e4a408e9b25ee9/68747470733a2f2f7472617669732d63692e6f72672f6672616e636573636f7a616e6f6e692f7a656e642d63616368652d73716c697465332d70646f2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/francescozanoni/zend-cache-sqlite3-pdo)
=========================================================================================================================================================================================================================================================================================================================================================================================================

[](#sqlite-3-cache-engine-for-zend-framework-1-pdo-driver-)

Purposes
--------

[](#purposes)

1. add [SQLite 3](https://www.sqlite.org/)-based cache engine to Zend Framework 1, besides the default SQLite 2 engine
2. provide it as Composer package, with specific requirements and fully automated installation
3. integrate with [the official Zend Framework 1 package](https://github.com/zendframework/zf1)

How to use
----------

[](#how-to-use)

1. add this package to your project dependencies: ```
    composer require francescozanoni/zend-cache-sqlite3-pdo
    ```
2. customize **application.ini** file: ```
    resources.cachemanager..backend.name = Sqlite3
    resources.cachemanager..backend.options.cache_db_complete_path = "/path/to/cache.sqlite"
    ```
3. create cache database file and make it writable by web user (tables are created automatically by the engine itself): ```
    touch /path/to/cache.sqlite
    chmod 777 /path/to/cache.sqlite
    ```

How to test
-----------

[](#how-to-test)

- on Unix/Linux: ```
    cd /path/to/zend-cache-sqlite3-pdo
    vendor/bin/phpunit test
    ```
- on Windows: ```
    cd \path\to\zend-cache-sqlite3-pdo
    vendor\bin\phpunit.bat test
    ```

History
-------

[](#history)

1. [gencer/zend-cache-sqlite3](https://github.com/gencer/zend-cache-sqlite3) started the project, with instructions on how to manually copy and paste the code to the suitable Zend Framework's subfolder. PDO and native driver versions are provided together.
2. [tttptd/zend-cache-sqlite3](https://github.com/tttptd/zend-cache-sqlite3) added a basic Composer-compliant structure, but left the manual installation and the two versions together.
3. I've added [the official Zend Framework 1 package](https://github.com/zendframework/zf1) as requirement and split the original package into two different packages: this one and [francescozanoni/zend-cache-sqlite3-native](https://github.com/francescozanoni/zend-cache-sqlite3-native), in order to let the final user choose and handle requirements accordingly. The engine code (src/Zend/Cache/Backend/Sqlite3.php) was taken as-is from the mentioned repositories, I've only wrapped it into a Composer-compliant file/folder structure.

References
----------

[](#references)

-
-
-
-

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

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 ~4 days

Total

3

Last Release

3089d ago

PHP version history (2 changes)1.0.0PHP &gt;=5.4

v1.0.2PHP &gt;=5.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/28e62fde2b2d95370907e9ded3f7f848d63a5f8d7df5eee9d598798a59d56bef?d=identicon)[francescozanoni](/maintainers/francescozanoni)

---

Top Contributors

[![francescozanoni](https://avatars.githubusercontent.com/u/16524243?v=4)](https://github.com/francescozanoni "francescozanoni (19 commits)")

---

Tags

cachepdosqlitesqlite3zend-frameworkzendframeworksqlitepdozendcachecachingZend Frameworkzend framework 1sqlite 3

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/francescozanoni-zend-cache-sqlite3-pdo/health.svg)

```
[![Health](https://phpackages.com/badges/francescozanoni-zend-cache-sqlite3-pdo/health.svg)](https://phpackages.com/packages/francescozanoni-zend-cache-sqlite3-pdo)
```

###  Alternatives

[doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database schema introspection and management.

9.7k578.4M5.6k](/packages/doctrine-dbal)[phpfastcache/phpfastcache

PHP Abstract Cache Class - Reduce your database call using cache system. Phpfastcache handles a lot of drivers such as Apc(u), Cassandra, CouchBase, Couchdb, Dynamodb, Firestore, Mongodb, Files, (P)redis, Leveldb, Memcache(d), Ravendb, Ssdb, Sqlite, Wincache, Xcache, Zend Data Cache.

2.4k5.0M130](/packages/phpfastcache-phpfastcache)[apix/cache

A thin PSR-6 cache wrapper with a generic interface to various caching backends emphasising cache taggging and indexing to Redis, Memcached, PDO/SQL, APC and other adapters.

114542.8k6](/packages/apix-cache)[matthiasmullie/scrapbook

Scrapbook is a PHP cache library, with adapters for e.g. Memcached, Redis, Couchbase, APCu, SQL and additional capabilities (e.g. transactions, stampede protection) built on top.

3212.5M32](/packages/matthiasmullie-scrapbook)[nette/caching

⏱ Nette Caching: library with easy-to-use API and many cache backends.

43518.6M368](/packages/nette-caching)[nette/database

💾 Nette Database: layer with a familiar PDO-like API but much more powerful. Building queries, advanced joins, drivers for MySQL, PostgreSQL, SQLite, MS SQL Server and Oracle.

5656.7M234](/packages/nette-database)

PHPackages © 2026

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