PHPackages                             grafite/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. grafite/cache

ActiveLibrary[Caching](/categories/caching)

grafite/cache
=============

An SQLite based cache with some extra features.

v1.3.0(2mo ago)03.7kMITPHPPHP ^8.2CI passing

Since Nov 15Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/GrafiteInc/Cache)[ Packagist](https://packagist.org/packages/grafite/cache)[ RSS](/packages/grafite-cache/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependencies (12)Versions (13)Used By (0)

[![Grafite Cache](GrafiteCache-banner.png)](GrafiteCache-banner.png)

**Cache** - SQLite based cache driver with some fancy extras like tagging and encryption etc.

[![Build Status](https://github.com/GrafiteInc/Charts/actions/workflows/php-package-tests.yml/badge.svg?branch=main)](https://github.com/GrafiteInc/Charts/actions/workflows/php-package-tests.yml)[![Maintainability](https://camo.githubusercontent.com/7d6702b08c9b0aa8e6b58556500530259a68192110eda8c3784cbc92e5d7c20e/68747470733a2f2f716c74792e73682f6261646765732f33653036366666342d343238642d343861392d626632642d3535666364396634653335652f6d61696e7461696e6162696c6974792e737667)](https://qlty.sh/gh/GrafiteInc/projects/Cache)[![Packagist](https://camo.githubusercontent.com/2c04183d0d4498cf4719c4a3046e52e4f0e170bfa0c7a179b5fb22753d4b1bd4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f677261666974652f63616368652e737667)](https://packagist.org/packages/grafite/cache)[![license](https://camo.githubusercontent.com/850eae1099d2b05f53383473d7cd51f9bc1ab09b7d0d9e5122f1dd930efdcc6d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6d6173686170652f6170697374617475732e737667)](https://packagist.org/packages/grafite/cache)

The Cache package an SQLite based cache driver with some fancy extras like tagging and encryption.

##### Author(s):

[](#authors)

- [Matt Lantz](https://github.com/mlantz) ([@mattylantz](http://twitter.com/mattylantz), mattlantz at gmail dot com)

Requirements
------------

[](#requirements)

1. PHP 8.2+

Compatibility and Support
-------------------------

[](#compatibility-and-support)

Laravel VersionPackage TagSupported^11.x1.xyes### Installation

[](#installation)

Start a new Laravel project:

```
composer create-project laravel/laravel your-project-name
```

Then run the following to add Support

```
composer require "grafite/cache"
```

Append to the `cache.php` config file in the stores array:

```
'sqlite' => [
    'driver' => 'sqlite',
    'table' => 'cache',
    'database' => env('CACHE_DATABASE', database_path('cache.sqlite')),
    'prefix' => '',
    'encrypted' => false,
],
```

Documentation
-------------

[](#documentation)

License
-------

[](#license)

Support is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)

### Bug Reporting and Feature Requests

[](#bug-reporting-and-feature-requests)

Please add as many details as possible regarding submission of issues and feature requests

### Disclaimer

[](#disclaimer)

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

46

—

FairBetter than 92% of packages

Maintenance85

Actively maintained with recent releases

Popularity21

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

Recently: every ~78 days

Total

11

Last Release

76d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/81d026d950739c978b844ac79e6b454e7fedc95ceffdcc4da09893c2497c7255?d=identicon)[mlantz](/maintainers/mlantz)

---

Top Contributors

[![mlantz](https://avatars.githubusercontent.com/u/1065551?v=4)](https://github.com/mlantz "mlantz (34 commits)")

---

Tags

laravel

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/grafite-cache/health.svg)

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

###  Alternatives

[illuminate/database

The Illuminate Database package.

2.8k54.1M11.1k](/packages/illuminate-database)[craftcms/cms

Craft CMS

3.6k3.6M2.9k](/packages/craftcms-cms)[spatie/laravel-responsecache

Speed up a Laravel application by caching the entire response

2.8k8.7M64](/packages/spatie-laravel-responsecache)[illuminate/cache

The Illuminate Cache package.

12936.5M1.7k](/packages/illuminate-cache)

PHPackages © 2026

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