PHPackages                             marcoguidara/quick-laravel-responsecache - 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. marcoguidara/quick-laravel-responsecache

ActiveLibrary[Caching](/categories/caching)

marcoguidara/quick-laravel-responsecache
========================================

Grant response cache functionality to app models with minimal configuration.

v0.2.3(4y ago)018MITPHPPHP ^7.4

Since May 18Pushed 4y ago1 watchersCompare

[ Source](https://github.com/marcoguidara/quick-laravel-responsecache)[ Packagist](https://packagist.org/packages/marcoguidara/quick-laravel-responsecache)[ Docs](https://github.com/marcoguidara/quick-laravel-responsecache)[ GitHub Sponsors](https://github.com/marcoguidara)[ RSS](/packages/marcoguidara-quick-laravel-responsecache/feed)WikiDiscussions main Synced 3d ago

READMEChangelog (5)Dependencies (10)Versions (7)Used By (0)

Response cache functionality with minimal configuration.
========================================================

[](#response-cache-functionality-with-minimal-configuration)

[![Latest Version on Packagist](https://camo.githubusercontent.com/c34093ccc290ceabe098e7d8d3e32b7d0278070559e15ef160750453901f7d47/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d6172636f677569646172612f717569636b2d6c61726176656c2d726573706f6e736563616368652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/marcoguidara/quick-laravel-responsecache)[![GitHub Tests Action Status](https://camo.githubusercontent.com/8628a5532ab60b049e54c4d9df8ac4f29e77bf083c4d2cab8150dc0c180d9a6f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6d6172636f677569646172612f717569636b2d6c61726176656c2d726573706f6e736563616368652f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/marcoguidara/quick-laravel-responsecache/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/e5fe6ded5ace9cbbb3a9d92619e54fe51cde6e8f7110e0f840f73e65231f5f05/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6d6172636f677569646172612f717569636b2d6c61726176656c2d726573706f6e736563616368652f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/marcoguidara/quick-laravel-responsecache/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/5ee7c0986c5601098f6f56a102e8335b0ffd2794cb22d781cb1bd95c7baf87d4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d6172636f677569646172612f717569636b2d6c61726176656c2d726573706f6e736563616368652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/marcoguidara/quick-laravel-responsecache)

This package is still WIP and sperimental.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require marcoguidara/quick-laravel-responsecache
```

You can publish the config file with:

```
php artisan vendor:publish --provider="MarcoGuidara\QuickResponseCache\QuickResponseCacheServiceProvider"
```

This is the contents of the published config file:

```
return [
    /*
     * Determine if the response cache should be enabled.
     */
    'enabled' => env('QUICK_RESPONSE_CACHE_ENABLED', true),

    /*
     * Default number of seconds responses must be cached.
     */
    'cache_lifetime_in_seconds' => env('QUICK_RESPONSE_CACHE_LIFETIME', 60 * 60 * 24 * 7),
];
```

Usage
-----

[](#usage)

### Clearing cache

[](#clearing-cache)

#### Manullay

[](#manullay)

```
QuickResponseCache::clear();
```

#### Using command

[](#using-command)

```
php artisan responsecache:clear
```

```
WIP
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Marco Guidara](https://github.com/marcoguidara)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80% 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 ~0 days

Total

5

Last Release

1819d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/44878636?v=4)[Marco Guidara](/maintainers/marcoguidara)[@marcoguidara](https://github.com/marcoguidara)

---

Top Contributors

[![marco-guidara-efesto](https://avatars.githubusercontent.com/u/98334806?v=4)](https://github.com/marco-guidara-efesto "marco-guidara-efesto (24 commits)")[![marcoguidara](https://avatars.githubusercontent.com/u/44878636?v=4)](https://github.com/marcoguidara "marcoguidara (6 commits)")

---

Tags

laravelmarcoguidaraquick-laravel-responsecache

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/marcoguidara-quick-laravel-responsecache/health.svg)

```
[![Health](https://phpackages.com/badges/marcoguidara-quick-laravel-responsecache/health.svg)](https://phpackages.com/packages/marcoguidara-quick-laravel-responsecache)
```

###  Alternatives

[spatie/laravel-responsecache

Speed up a Laravel application by caching the entire response

2.8k8.2M51](/packages/spatie-laravel-responsecache)[ryangjchandler/blade-cache-directive

Cache chunks of your Blade markup with ease.

202200.8k2](/packages/ryangjchandler-blade-cache-directive)[vormkracht10/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

24149.7k](/packages/vormkracht10-laravel-mails)[innoge/laravel-policy-soft-cache

This package helps prevent performance problems with frequent Policy calls within your application lifecycle.

2356.9k](/packages/innoge-laravel-policy-soft-cache)[namoshek/laravel-redis-sentinel

An extension of Laravels Redis driver which supports connecting to a Redis master through Redis Sentinel.

38679.0k](/packages/namoshek-laravel-redis-sentinel)[dragon-code/laravel-cache

An improved interface for working with cache

6844.8k10](/packages/dragon-code-laravel-cache)

PHPackages © 2026

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