2017 © Pedro Peláez
 

library zend-cache-sqlite3-pdo

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

image

francescozanoni/zend-cache-sqlite3-pdo

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

  • Saturday, November 25, 2017
  • by francescozanoni
  • Repository
  • 1 Watchers
  • 0 Stars
  • 14 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

SQLite 3 cache engine for Zend Framework 1 (PDO driver) Build Status

Purposes

  1. add SQLite 3-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

How to use

  1. add this package to your project dependencies: bash composer require francescozanoni/zend-cache-sqlite3-pdo
  2. customize application.ini file: ini resources.cachemanager.<cache_name>.backend.name = Sqlite3 resources.cachemanager.<cache_name>.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): bash touch /path/to/cache.sqlite chmod 777 /path/to/cache.sqlite

How to test

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

History

  1. 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 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 as requirement and split the original package into two different packages: this one and 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

  • https://framework.zend.com/manual/1.12/en/zend.cache.html
  • https://github.com/gencer/zend-cache-sqlite3
  • https://github.com/tttptd/zend-cache-sqlite3
  • https://github.com/francescozanoni/zend-cache-sqlite3-native

The Versions

25/11 2017

dev-master

9999999-dev

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

  Sources   Download

MIT

The Requires

 

The Development Requires

by Francesco Zanoni

cache caching zend framework 1 zend zend framework pdo sqlite sqlite 3

25/11 2017

v1.0.2

1.0.2.0

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

  Sources   Download

MIT

The Requires

 

The Development Requires

by Francesco Zanoni

cache caching zend framework 1 zend zend framework pdo sqlite sqlite 3

17/11 2017

1.0.1

1.0.1.0

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

  Sources   Download

MIT

The Requires

 

by Francesco Zanoni

17/11 2017

1.0.0

1.0.0.0

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

  Sources   Download

The Requires

 

by Francesco Zanoni