From 4cea69b8f65370addfa4efd2fae796acefc6515a Mon Sep 17 00:00:00 2001 From: Melissa Wu Date: Thu, 23 Feb 2023 14:34:15 +1300 Subject: [PATCH] Add support to Silverstripe 5 --- README.md | 3 ++- composer.json | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6132be5..0e03d7b 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,8 @@ This lets you add field that is a combination of a dropdown and a text field ## Requirements -* SilverStripe ^4.0 +* PHP ^7.4 || ^8.0 +* SilverStripe ^4.0 || ^5 ## Installation ``` diff --git a/composer.json b/composer.json index 293d40f..e6c1a8c 100644 --- a/composer.json +++ b/composer.json @@ -10,8 +10,8 @@ "license": "BSD-3-Clause", "require": { "php": "^7.4 || ^8.0", - "silverstripe/framework": "^4.0", - "silverstripe/admin": "^1.0" + "silverstripe/framework": "^4.0 || ^5.0", + "silverstripe/admin": "^1.0 || ^2.0" }, "require-dev": { "phpunit/phpunit": "^9.5",