PHPackages                             sid/laravel-simplecache-middleware - 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. sid/laravel-simplecache-middleware

ActiveLibrary[Caching](/categories/caching)

sid/laravel-simplecache-middleware
==================================

Cache Urls

8127PHP

Since Sep 14Pushed 10y ago1 watchersCompare

[ Source](https://github.com/sidis405/laravel-simplecache-middleware)[ Packagist](https://packagist.org/packages/sid/laravel-simplecache-middleware)[ RSS](/packages/sid-laravel-simplecache-middleware/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/2a6b12194d4221aa334507ccb3e5f6d98f519232e73457fe73766cf5b538c0db/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f73696469733430352f6c61726176656c2d73696d706c6563616368652d6d6964646c65776172652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/sidis405/laravel-simplecache-middleware/?branch=master) [![Code Coverage](https://camo.githubusercontent.com/7e512cb1865206ba41cdf59c0f423de7aa59e131a31bbec071d421e55838230c/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f73696469733430352f6c61726176656c2d73696d706c6563616368652d6d6964646c65776172652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/sidis405/laravel-simplecache-middleware/?branch=master) [![Build Status](https://camo.githubusercontent.com/250684b4a42595e44e89a34d0ad59d414e9f75399b50a0e30a57bb96893b73cb/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f73696469733430352f6c61726176656c2d73696d706c6563616368652d6d6964646c65776172652f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/sidis405/laravel-simplecache-middleware/build-status/master)

Cache Urls

- Very alpha stages. Not unstable but i need to write tests for it.
- If you think it's a good starting point for you, take it.

\###Installation Add to composer.json

```
"sid/laravel-simplecache-middleware":"dev-master"
```

Register the service provider by adding in the provider section in config/app.php

```
'providers' => [
    ...
    Sid\SimpleCache\SimpleCacheServiceProvider::class
    ...
```

Just in case

```
composer dump-autoload
```

Publish the migration and the config file

```
php artisan vendor:publish
```

Add to Kernel.php

```
'cacheafter' => \Sid\SimpleCache\AfterCacheMiddleware::class,
'cachebefore' => \Sid\SimpleCache\BeforeCacheMiddleware::class,
```

\##Todo

- Test. Tests. Tests.

Contributing
============

[](#contributing)

Contributions are **welcome** and will be fully **credited**.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/844961?v=4)[Sidrit Trandafili](/maintainers/sidis405)[@sidis405](https://github.com/sidis405)

---

Top Contributors

[![sidis405](https://avatars.githubusercontent.com/u/844961?v=4)](https://github.com/sidis405 "sidis405 (9 commits)")

### Embed Badge

![Health badge](/badges/sid-laravel-simplecache-middleware/health.svg)

```
[![Health](https://phpackages.com/badges/sid-laravel-simplecache-middleware/health.svg)](https://phpackages.com/packages/sid-laravel-simplecache-middleware)
```

###  Alternatives

[react/cache

Async, Promise-based cache interface for ReactPHP

444112.4M40](/packages/react-cache)[wp-media/wp-rocket

Performance optimization plugin for WordPress

7431.3M3](/packages/wp-media-wp-rocket)[illuminate/cache

The Illuminate Cache package.

12835.6M1.4k](/packages/illuminate-cache)[colinmollenhour/php-redis-session-abstract

A Redis-based session handler with optimistic locking

6325.6M14](/packages/colinmollenhour-php-redis-session-abstract)[cheprasov/php-redis-client

Php client for Redis. It is a fast, fully-functional and user-friendly client for Redis, optimized for performance. RedisClient supports the latest versions of Redis starting from 2.6 to 6.0

1281.2M21](/packages/cheprasov-php-redis-client)[amphp/redis

Efficient asynchronous communication with Redis servers, enabling scalable and responsive data storage and retrieval.

165634.7k44](/packages/amphp-redis)

PHPackages © 2026

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