PHPackages                             avinashjoshi/cakephp-mapstore - 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. avinashjoshi/cakephp-mapstore

ActiveCakephp-plugin

avinashjoshi/cakephp-mapstore
=============================

MapStore - A Key Value store for CakePHP

181PHP

Since Dec 9Pushed 10y ago1 watchersCompare

[ Source](https://github.com/avinashjoshi/cakephp-mapstore)[ Packagist](https://packagist.org/packages/avinashjoshi/cakephp-mapstore)[ RSS](/packages/avinashjoshi-cakephp-mapstore/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

MapStore
========

[](#mapstore)

[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.txt)[![Build Status](https://camo.githubusercontent.com/b1777e1ed3cc497ad1d126ffc9ae354d8c19ac1775ebf6cb24eb3ec2f2b53b73/68747470733a2f2f7472617669732d63692e6f72672f6176696e6173686a6f7368692f63616b657068702d6d617073746f72652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/avinashjoshi/cakephp-mapstore)[![Coverage Status](https://camo.githubusercontent.com/10fe7037d4eac3b21b5e08b97db9b105005b28793c78c749d6e1e38c0c346a0d/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6176696e6173686a6f7368692f63616b657068702d6d617073746f72652f62616467652e7376673f6272616e63683d6d617374657226736572766963653d676974687562)](https://coveralls.io/github/avinashjoshi/cakephp-mapstore?branch=master)

MapStore is a key-value store plugin for [CakePHP](http://cakephp.org) framework. It is inspired by other key-value store projects.

Installation
------------

[](#installation)

The easiest &amp; recommended way to install MapStore is via [composer](http://getcomposer.org). Run the following command:

```
composer require avinashjoshi/cakephp-mapstore

```

After that you should load the plugin in your app editing `config/bootstrap.php`:

```
Plugin::load('MapStore');

```

After loading the plugin you need to migrate the tables for the plugin using:

```
bin/cake migrations migrate -p MapStore

```

Configuration
-------------

[](#configuration)

Configuration allows to specify if the value shoud be encrypted or not.

- **encrypt** (required/optional): Set to false if you would like to disable encryption (Default is `true`).
- **key** (required/optional): you can specify a key to be used by Security class to encrypt/decrypt value.
- **salt** (required/optional): you can specify a salt to be used by Security class to encrypt/decrypt value.

*key* and *salt* can also be set globally by adding them to CakePHP's application configuration at `app.php`:

```
