Skip to content

Commit

Permalink
Add support for silverstripe 5
Browse files Browse the repository at this point in the history
  • Loading branch information
satrun77 committed Feb 12, 2023
1 parent 6d78d38 commit afea870
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Adds a "spam protection" field to SilverStripe userforms using Google's
[reCAPTCHA](https://www.google.com/recaptcha) service.

## Requirements
* SilverStripe 4.x
* SilverStripe 5.x
* [SilverStripe Spam Protection
3.x](https://github.com/silverstripe/silverstripe-spamprotection/)
* PHP CURL
Expand Down
14 changes: 11 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@
}
],
"require": {
"silverstripe/framework": "~4.0",
"silverstripe/vendor-plugin": "^1.0",
"silverstripe/spamprotection": "~3.0"
"silverstripe/framework": "^5",
"silverstripe/vendor-plugin": "^2.0",
"silverstripe/spamprotection": "^4"
},
"prefer-stable": true,
"minimum-stability": "dev",
"autoload": {
"psr-4": {
"UndefinedOffset\\NoCaptcha\\": "src/"
Expand All @@ -31,5 +33,11 @@
"branch-alias": {
"dev-master": "2.0.x-dev"
}
},
"config": {
"allow-plugins": {
"composer/installers": true,
"silverstripe/vendor-plugin": true
}
}
}

0 comments on commit afea870

Please sign in to comment.