diff --git a/README.md b/README.md index 7deee22..3cc8857 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ -# Video Embed plugin for Craft CMS 4.x +# Video Embed plugin for Craft CMS 5.x Generate an embed URL from a YouTube or Vimeo URL. ## Requirements -This plugin requires Craft CMS 4.0.0 or later. +This plugin requires Craft CMS 5.0.0 or later. ## Installation diff --git a/composer.json b/composer.json index cc3e55b..2270c27 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,8 @@ } ], "require": { - "craftcms/cms": "^4.0.0" + "php": "^8.2", + "craftcms/cms": "^5.0.0" }, "autoload": { "psr-4": { diff --git a/src/VideoEmbed.php b/src/VideoEmbed.php index 8f94c61..b70b3f2 100644 --- a/src/VideoEmbed.php +++ b/src/VideoEmbed.php @@ -1,6 +1,6 @@