Skip to content

Commit

Permalink
Craft 5 support
Browse files Browse the repository at this point in the history
  • Loading branch information
ostark committed Apr 18, 2024
1 parent 588c95f commit 2b6fe79
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

All notable changes to this project will be documented in this file.

## [1.5.0] - 2024-04-18
Support for Craft 5 added.

## [1.4.0] - 2022-05-05
Support for Craft 4 added.

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This yii-extension is a memcached drop in replacement for sessions, cache and mu

## Requirements

* Craft CMS (Version 3 and 4)
* Craft CMS (Version 3, 4, 5)
* A Professional App on fortrabbit (see below for other hosting providers)

## Install
Expand Down
10 changes: 8 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fortrabbit/yii-memcached",
"description": "Memcached Session & Cache for Craft3 / Yii2 on fortrabbit",
"description": "Memcached Session & Cache for Craft CMS / Yii2 on fortrabbit",
"type": "yii2-extension",
"keywords": ["yii2", "craftcms", "caching", "cache", "memcached", "memcache", "session", "mutex"],
"license": "MIT",
Expand All @@ -17,7 +17,7 @@
"docs": "https://github.com/fortrabbit/yii-memcached"
},
"require": {
"craftcms/cms": "^3.7.30|^4.0"
"craftcms/cms": "^3.7.30|^4.0|^5.0"
},
"autoload": {
"psr-4": {
Expand All @@ -26,6 +26,9 @@
"files": ["src/init.php"]

},
"scripts": {
"phpstan": "./vendor/bin/phpstan analyse src --level=5"
},
"extra": {
"bootstrap": "fortrabbit\\MemcachedEnabler\\Bootstrap"
},
Expand All @@ -34,5 +37,8 @@
"yiisoft/yii2-composer": true,
"craftcms/plugin-installer": true
}
},
"require-dev": {
"craftcms/phpstan": "dev-main"
}
}

0 comments on commit 2b6fe79

Please sign in to comment.