PHPackages                             coco-project/sql-cache - 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. [Caching](/categories/caching)
4. /
5. coco-project/sql-cache

ActiveLibrary[Caching](/categories/caching)

coco-project/sql-cache
======================

Based on the lexical analysis of "update," "select," "insert," and "delete" SQL statements, an automatic caching strategy is implemented. The strategy involves caching the data when executing a select operation and associating the table name contained in the SQL statement with the corresponding cached records. When executing update, insert, or delete operations, the table name from the SQL statement is extracted, and any cached records containing this table name from previous select operations are deleted. This strategy enables seamless caching without delay and eliminates the need to worry about data synchronization issues. It is particularly effective for tables with infrequent data modifications. For tables with frequent modifications, they can be ignored by configuring the strategy accordingly.

v1.0.6(2mo ago)0231MITPHPPHP &gt;=8.0

Since Nov 3Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/coco-projects/sql-cache)[ Packagist](https://packagist.org/packages/coco-project/sql-cache)[ RSS](/packages/coco-project-sql-cache/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (11)Versions (8)Used By (1)

usage
-----

[](#usage)

see examples folder

---

License
-------

[](#license)

MIT

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance86

Actively maintained with recent releases

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

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

Recently: every ~226 days

Total

7

Last Release

66d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/79302277?v=4)[coco-projects](/maintainers/coco-projects)[@coco-projects](https://github.com/coco-projects)

---

Top Contributors

[![coco-projects](https://avatars.githubusercontent.com/u/79302277?v=4)](https://github.com/coco-projects "coco-projects (6 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/coco-project-sql-cache/health.svg)

```
[![Health](https://phpackages.com/badges/coco-project-sql-cache/health.svg)](https://phpackages.com/packages/coco-project-sql-cache)
```

###  Alternatives

[symfony/framework-bundle

Provides a tight integration between Symfony components and the Symfony full-stack framework

3.6k251.7M11.6k](/packages/symfony-framework-bundle)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M388](/packages/easycorp-easyadmin-bundle)[silverstripe/framework

The SilverStripe framework

7313.7M2.8k](/packages/silverstripe-framework)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.1k17.8k](/packages/prestashop-prestashop)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[firevel/firebase-authentication

Firebase authentication driver for Laravel

2225.0k3](/packages/firevel-firebase-authentication)

PHPackages © 2026

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