Download the PHP package luciano-jr/laravel-aerospike without Composer
On this page you can find all versions of the php package luciano-jr/laravel-aerospike. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download luciano-jr/laravel-aerospike
More information about luciano-jr/laravel-aerospike
Files in luciano-jr/laravel-aerospike
Package laravel-aerospike
Short Description Service to use Aerospike Cache in Laravel 5
License MIT
Informations about the package laravel-aerospike
laravel-aerospike
A service to use Aerospike Cache on Laravel 5
Installation
1. Dependency
Using composer, execute the following command to automatically update your composer.json
:
or manually update your composer.json
file
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:
2.1 Publishing configuration file
To publish the default configuration file, execute the following command:
You can also publish only the configuration file:
If you already published aerospike files, but for some reason you want to override previous published files, add the --force
flag.
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:
All versions of laravel-aerospike with dependencies
illuminate/console Version ~5.0
illuminate/support Version ~5.0
illuminate/session Version ~5.0
illuminate/http Version ~5.0
illuminate/config Version ~5.0