{"id":37014728,"url":"https://github.com/avinashjoshi/cakephp-mapstore","last_synced_at":"2026-01-14T01:28:32.999Z","repository":{"id":62489923,"uuid":"46436100","full_name":"avinashjoshi/cakephp-mapstore","owner":"avinashjoshi","description":"A key-value store plugin for CakePHP","archived":false,"fork":false,"pushed_at":"2015-12-09T14:15:08.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-25T06:01:40.889Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/avinashjoshi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-18T17:39:55.000Z","updated_at":"2024-04-25T06:01:40.890Z","dependencies_parsed_at":"2022-11-02T11:02:56.528Z","dependency_job_id":null,"html_url":"https://github.com/avinashjoshi/cakephp-mapstore","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/avinashjoshi/cakephp-mapstore","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avinashjoshi%2Fcakephp-mapstore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avinashjoshi%2Fcakephp-mapstore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avinashjoshi%2Fcakephp-mapstore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avinashjoshi%2Fcakephp-mapstore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/avinashjoshi","download_url":"https://codeload.github.com/avinashjoshi/cakephp-mapstore/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avinashjoshi%2Fcakephp-mapstore/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28407951,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T00:40:43.272Z","status":"ssl_error","status_checked_at":"2026-01-14T00:40:42.636Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-14T01:28:32.317Z","updated_at":"2026-01-14T01:28:32.987Z","avatar_url":"https://github.com/avinashjoshi.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MapStore\n\n[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.txt)\n[![Build Status](https://travis-ci.org/avinashjoshi/cakephp-mapstore.svg?branch=master)](https://travis-ci.org/avinashjoshi/cakephp-mapstore)\n[![Coverage Status](https://coveralls.io/repos/avinashjoshi/cakephp-mapstore/badge.svg?branch=master\u0026service=github)](https://coveralls.io/github/avinashjoshi/cakephp-mapstore?branch=master)\n\nMapStore is a key-value store plugin for [CakePHP](http://cakephp.org) framework. It is inspired by other key-value store projects.\n\n## Installation\n\nThe easiest \u0026 recommended way to install MapStore is via [composer](http://getcomposer.org). Run the following command:\n\n```\ncomposer require avinashjoshi/cakephp-mapstore\n```\n\nAfter that you should load the plugin in your app editing `config/bootstrap.php`:\n```\nPlugin::load('MapStore');\n```\n\nAfter loading the plugin you need to migrate the tables for the plugin using:\n```\nbin/cake migrations migrate -p MapStore\n```\n\n## Configuration\nConfiguration allows to specify if the value shoud be encrypted or not.\n\n* **encrypt** (required/optional): Set to false if you would like to disable encryption (Default is `true`).\n* **key** (required/optional): you can specify a key to be used by Security class to encrypt/decrypt value.\n* **salt** (required/optional): you can specify a salt to be used by Security class to encrypt/decrypt value.\n\n*key* and *salt* can also be set globally by adding them to CakePHP's application configuration at `app.php`:\n```php\n\u003c?php\nreturn [\n    'Security' =\u003e [\n        'salt' =\u003e 'some long \u0026 random salt',\n        'key' =\u003e 'some long \u0026 random key'\n    ]\n];\n```\n\nYou can grab a good pair of key and salt at [Random Key Generator](http://randomkeygen.com/).\n\n## Basic Usage\n\n```php\n\u003c?php\nuse MapStore\\Store\\MapStore;\n\n$store = MapStore::load('store_1');\n\n$store-\u003eset('name', 'Avinash Joshi');\n$store-\u003eget('name'); // Returns 'Avinash Joshi'\n$store-\u003edelete('name');\n$store-\u003eflush();\n\n```\n\n## More Examples\n```php\n// Load the databases without database encryption\n$store_2 = MapStore::load('store_2', ['encrypt' =\u003e false]);\n\n```\n\n## Support\nFeel free to open an [issue](https://github.com/avinashjoshi/cakephp-mapstore) if you need help or have ideas to improve this plugin.\n\n## Contributing\nContributions and Pull Requests are always more than welcome!\n\n* Follow [CakePHP coding standard](http://book.cakephp.org/3.0/en/contributing/cakephp-coding-conventions.html).\n* Please, add [Tests](http://book.cakephp.org/3.0/en/development/testing.html) to new features.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favinashjoshi%2Fcakephp-mapstore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Favinashjoshi%2Fcakephp-mapstore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favinashjoshi%2Fcakephp-mapstore/lists"}