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

ActiveLibrary

kidkang/laravel-cache
=====================

laravel cache

1.0.3(7y ago)01.5kMITPHP

Since Apr 8Pushed 7y agoCompare

[ Source](https://github.com/kidkang/laravel-cache)[ Packagist](https://packagist.org/packages/kidkang/laravel-cache)[ RSS](/packages/kidkang-laravel-cache/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (1)Versions (9)Used By (0)

1.set(key,value,\[expire\])
===========================

[](#1setkeyvalueexpire)

option
------

[](#option)

### key 存储的键名

[](#key-存储的键名)

### value 值

[](#value-值)

> string|array

如果是array 会用json\_encode 转换为字符串

### expire 单位分钟

[](#expire-单位分钟)

> 过期时间，如果不传，表示永久缓存

2.get(key)
==========

[](#2getkey)

> 获取缓存 如果存入为数组，返回也为数组

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity65

Established project with proven stability

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

Total

8

Last Release

2578d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/795a1947a504852ce60cbd24c6b4f50848627f81eac60c63dedd3dba71cbb3b8?d=identicon)[kidkang](/maintainers/kidkang)

---

Top Contributors

[![kidkang](https://avatars.githubusercontent.com/u/22092546?v=4)](https://github.com/kidkang "kidkang (8 commits)")

### Embed Badge

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

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

###  Alternatives

[tymon/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

11.5k49.1M350](/packages/tymon-jwt-auth)[bagisto/bagisto

Bagisto Laravel E-Commerce

26.2k161.6k7](/packages/bagisto-bagisto)[spatie/laravel-sitemap

Create and generate sitemaps with ease

2.6k14.6M107](/packages/spatie-laravel-sitemap)[statamic/cms

The Statamic CMS Core Package

4.8k3.2M720](/packages/statamic-cms)[team-reflex/discord-php

An unofficial API to interact with the voice and text service Discord.

1.1k379.4k24](/packages/team-reflex-discord-php)[temporal/sdk

Temporal SDK

4002.2M18](/packages/temporal-sdk)

PHPackages © 2026

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