francescozanoni/zend-cache-sqlite3-pdo 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

francescozanoni/zend-cache-sqlite3-pdo

Composer 安装命令:

composer require francescozanoni/zend-cache-sqlite3-pdo

包简介

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

README 文档

README

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:
    composer require francescozanoni/zend-cache-sqlite3-pdo
  2. customize application.ini file:
    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):
    touch /path/to/cache.sqlite
    chmod 777 /path/to/cache.sqlite

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

  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

统计信息

  • 总下载量: 33
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-11-17

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固