infuse/stash

Stash module for Infuse Framework

1.1 2016-08-27 21:24 UTC

This package is auto-updated.

Last update: 2024-11-13 08:11:42 UTC


README

Build Status Coverage Status Latest Stable Version Total Downloads HHVM Status

Mailer module for Infuse Framework

Installation

Install the package with composer:

composer require infuse/stash

Configuration

Add this to your config.php:

'cache' => [
	'namespace' => 'namespace',
	'driver' => 'Stash\\Driver\\Predis',
	'options' => [
		'scheme' => 'tcp',
		'host' => '127.0.0.1',
		'port' => 6379
	]
]

Add the services to your app's configuration:

'services' => [
	// ...
	'stash' => 'Infuse\Stash\Stash',
	'stash_driver' => 'Infuse\Stash\StashDriver'
	// ...
]