2017 © Pedro Peláez
 

library laravel-aerospike

Service to use Aerospike Cache in Laravel 5

image

luciano-jr/laravel-aerospike

Service to use Aerospike Cache in Laravel 5

  • Thursday, September 8, 2016
  • by luciano-jr
  • Repository
  • 3 Watchers
  • 0 Stars
  • 152 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 0 Open issues
  • 6 Versions
  • 17 % Grown

The README.md

laravel-aerospike

A service to use Aerospike Cache on Laravel 5, (*1)

Installation

1. Dependency

Using composer, execute the following command to automatically update your composer.json:, (*2)

composer require luciano-jr/laravel-aerospike

or manually update your composer.json file, (*3)

{
    "require": {
        "luciano-jr/laravel-aerospike": "dev-master"
    }
}

2. Provider

You need to update your application configuration in order to register the package, so it can be loaded by Laravel. Just update your config/app.php file adding the following code at the end of your 'providers' section:, (*4)

// file START ommited
    'providers' => [
        // other providers ommited
        Lucianojr\Aerospike\Providers\AerospikeServiceProvider::class,
    ],
// file END ommited

2.1 Publishing configuration file

To publish the default configuration file, execute the following command:, (*5)

php artisan vendor:publish

You can also publish only the configuration file:, (*6)

php artisan vendor:publish --tag=config

If you already published aerospike files, but for some reason you want to override previous published files, add the --force flag., (*7)

3. Facade (optional)

In order to use the AerospikeCache facade, you need to register it on the config/app.php file, you can do that the following way:, (*8)

// config.php file
// file START ommited
    'aliases' => [
        // other Facades ommited
        'AerospikeCache' => Lucianojr\Aerospike\Facades\AerospikeFacade::class,
    ],
// file END ommited

The Versions

08/09 2016

dev-develop

dev-develop

Service to use Aerospike Cache in Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel cache aerospike

08/09 2016

dev-master

9999999-dev

Service to use Aerospike Cache in Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel cache aerospike

08/09 2016

0.2.1

0.2.1.0

Service to use Aerospike Cache in Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel cache aerospike

08/09 2016

0.2.0

0.2.0.0

Service to use Aerospike Cache in Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel cache aerospike

02/09 2016

0.1.1

0.1.1.0

Service to use Aerospike Cache in Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel cache aerospike

02/09 2016

0.1.0

0.1.0.0

Service to use Aerospike Cache in Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel cache aerospike