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(8y ago)102.2k1[1 issues](https://github.com/makbulut/laravel-aerospike/issues)MITPHPPHP &gt;=5.4.0

Since Apr 30Pushed 8y 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 3w 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 66% 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

2922d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/649813?v=4)[Mehmet AKBULUT](/maintainers/makbulut)[@makbulut](https://github.com/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.8k9.0M69](/packages/spatie-laravel-responsecache)[mike-bronner/laravel-model-caching

Automatic caching for Eloquent models.

2.4k91.9k1](/packages/mike-bronner-laravel-model-caching)[propaganistas/laravel-disposable-email

Disposable email validator

6023.0M7](/packages/propaganistas-laravel-disposable-email)[harris21/laravel-fuse

Circuit breaker for Laravel queue jobs. Protect your workers from cascading failures.

44855.7k](/packages/harris21-laravel-fuse)[iazaran/smart-cache

Smart Cache is a caching optimization package designed to enhance the way your Laravel application handles data caching. It intelligently manages large data sets by compressing, chunking, or applying other optimization strategies to keep your application performant and efficient.

21111.6k](/packages/iazaran-smart-cache)[omaralalwi/lexi-translate

Laravel translation package with morph relationships and caching.

7413.7k5](/packages/omaralalwi-lexi-translate)

PHPackages © 2026

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