From f9c2dce4fd11aa448a1f0f2f5f2f669d7ba3c8a1 Mon Sep 17 00:00:00 2001 From: i-just Date: Wed, 6 May 2026 14:02:04 +0200 Subject: [PATCH 1/2] v6 with adapter updates --- README.md | 2 +- composer.json | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index bbc6896..a56bdd4 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ The anchors are named based on the heading text. The algorithm Anchors uses to c ## Requirements -This plugin requires Craft CMS 4.0.0+ or 5.0.0+. +This plugin requires Craft CMS 4.0.0+ or 5.0.0+ or 6.0.0-alpha.1+ with the `craftcms/yii2-adapter` package. ## Installation diff --git a/composer.json b/composer.json index e796b95..ae32acb 100644 --- a/composer.json +++ b/composer.json @@ -20,14 +20,14 @@ "email": "support@craftcms.com", "issues": "https://github.com/craftcms/anchors/issues?state=open", "source": "https://github.com/craftcms/anchors", - "docs": "https://github.com/craftcms/anchors/blob/v2/README.md", - "rss": "https://github.com/craftcms/anchors/commits/v2.atom" + "docs": "https://github.com/craftcms/anchors/blob/3.x/README.md", + "rss": "https://github.com/craftcms/anchors/commits/3.x.atom" }, "minimum-stability": "dev", "prefer-stable": true, "require": { "php": "^8.0.2", - "craftcms/cms": "^4.0.0-RC2|^5.0.0-beta.1" + "craftcms/cms": "^4.0.0-RC2|^5.0.0-beta.1|^6.0.0-alpha.1" }, "require-dev": { "craftcms/ecs": "*", From e9d04a0b70e1c9ef3dc893f317c74438a39b0f70 Mon Sep 17 00:00:00 2001 From: i-just Date: Wed, 6 May 2026 14:09:45 +0200 Subject: [PATCH 2/2] readme - config location update --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a56bdd4..2fa99c6 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ If you want the anchors to always be lowercase, you can use the `lowercase` argu ## Configuration -To configure Anchors, create a new `anchors.php` file within the `config/` folder, which returns an array. +To configure Anchors, create a new `anchors.php` file within the `config/` folder (or `config/craft/` if you’re using Craft CMS v6), which returns an array. The following config settings are supported: