{"repo":"yiisoft/cache-db","free":true,"listed":false,"github":"https://github.com/yiisoft/cache-db","clone":"git clone https://github.com/yiisoft/cache-db.git","description":"Yiisoft database adapter for cache","language":"PHP","stars":13,"topics":["yii3","cache","hacktoberfest","database"],"license":"BSD-3-Clause","category":"databases-storage","readme_excerpt":"Yii Cache Library - DB Handler This package implements database-based PSR-16 cache. Supported databases Packages PHP Versions CI-Actions ------------------------------------------------------------- --------------- ------------------ ------------ [[db-mssql]](https://github.com/yiisoft/db-mssql) 8.1 - 8.5 2017 - 2025 [[db-mysql]](https://github.com/yiisoft/db-mysql) (MySQL) 8.1 - 8.5 5.7 - 9.5 [[db-mysql]](https://github.com/yiisoft/db-mysql) (MariaDB) 8.1 - 8.5 10.4 - 12.10 [[db-oracle]](https://github.com/yiisoft/db-oracle) 8.1 - 8.5 11C - 21C [[db-pgsql]](https://github.com/yiisoft/db-pgsql) 8.1 - 8.5 9.0 - 18.0 [[db-sqlite]](https://github.com/yiisoft/db-sqlite) 8.1 - 8.5 3:latest Requirements - PHP 8.1 - 8.5. - PDO PHP extension. Installation The package could be installed with Composer: Create database connection For more information see yiisoft/db. Database Preparing Package provides two way for preparing database: 1. Raw SQL. You can use it with the migration package used in your application. - Ensure tables: - MSSQL, - MySQL / MariaDB, - Oracle, - PostgreSQL - SQLite - Ensure no tables: - MSSQL, - MySQL / MariaDB, - Oracle, - PostgreSQL - SQLite 2. DbSchemaManager for ensureTable() , ensureNoTable() methods for cache table (by default {{%yii cache}} ). Configuration When creating an instance of \\Yiisoft\\Cache\\Db\\DbCache , you must pass an instance of the database connection. - $db (\\Yiisoft\\Db\\Connection\\ConnectionInterface) - The database connection instance. - $tab","default_branch":null,"files":null,"tree":[],"storefront":"/r/yiisoft","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/yiisoft/cache-db/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}