PHPackages                             makbulut/laravel-aerospike - 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. makbulut/laravel-aerospike

ActiveLibrary[Caching](/categories/caching)

makbulut/laravel-aerospike
==========================

Aerospike cache driver for Laravel

v1.3(7y ago)102.2k1[1 issues](https://github.com/makbulut/laravel-aerospike/issues)MITPHPPHP &gt;=5.4.0

Since Apr 30Pushed 7y ago1 watchersCompare

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

READMEChangelog (4)Dependencies (2)Versions (5)Used By (0)

Laravel Aerospike Cache Driver
==============================

[](#laravel-aerospike-cache-driver)

[Aerospike](http://www.aerospike.com/) Cache driver for [Laravel 5](http://laravel.com/). This package makes it easy to store cached data in Aerospike.

📦 Installation
--------------

[](#-installation)

Make sure you have the Aerospike PHP client installed. You can find installation instructions at

To install this package you will need:

- Laravel 5.0+
- PHP 5.5.9+

You must then modify your `composer.json` file and run `composer update` to include the latest version of the package in your project.

```
"require": {
    "makbulut/laravel-aerospike": "1.3"
}
```

Or you can run the composer require command from your terminal.

```
composer require makbulut/laravel-aerospike:1.3
```

🔧 Configuration
---------------

[](#-configuration)

#### Provider

[](#provider)

Setup service provider in `config/app.php`

```
Makbulut\Aerospike\AerospikeServiceProvider::class
```

#### Environment

[](#environment)

Change the cache driver in .env to aerospike:

```
CACHE_DRIVER=aerospike

```

Add aerospike server informations to `.env` file.

```
AEROSPIKE_HOST=172.28.128.3
AEROSPIKE_PORT=3000
AEROSPIKE_NAMESPACE=test

```

📌 Usage
-------

[](#-usage)

```
Cache::store('aerospike')->get('key_1');
Cache::store('aerospike')->put('key_1', 1, 5 );
Cache::store('aerospike')->increment('rest_1', 1);
Cache::store('aerospike')->decrement('rest_1', 1);
Cache::store('aerospike')->forever('key_1', 1);
Cache::store('aerospike')->forget('key_1');
Cache::store('aerospike')->flush('test');
```

Or

```
Cache::get('key_1');
Cache::put('key_1', 1, 5 );
Cache::increment('rest_1', 1);
Cache::decrement('rest_1', 1);
Cache::forever('key_1', 1);
Cache::forget('key_1');
Cache::flush('test');
```

For more information about Caches, check .

📄 License
---------

[](#-license)

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

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity61

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

Total

4

Last Release

2869d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/819584fb62306ae86e52d103ecb7e0161ee596f372d23b9dc7221accfa9435c0?d=identicon)[makbulut](/maintainers/makbulut)

---

Top Contributors

[![makbulut](https://avatars.githubusercontent.com/u/649813?v=4)](https://github.com/makbulut "makbulut (17 commits)")

---

Tags

laravelcacheaerospike

### Embed Badge

![Health badge](/badges/makbulut-laravel-aerospike/health.svg)

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

###  Alternatives

[spatie/laravel-responsecache

Speed up a Laravel application by caching the entire response

2.8k8.2M51](/packages/spatie-laravel-responsecache)[dragon-code/laravel-cache

An improved interface for working with cache

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

A handful of Cloudflare cache helpers for Laravel

1317.7k](/packages/nexxai-laravel-cfcache)[omaralalwi/lexi-translate

Laravel translation package with morph relationships and caching.

754.3k2](/packages/omaralalwi-lexi-translate)[michele-angioni/support

Support is a Laravel package which promotes the use of best practices and design patterns.

181.4k1](/packages/michele-angioni-support)

PHPackages © 2026

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