diff --git a/composer.json b/composer.json
new file mode 100644
index 0000000000000000000000000000000000000000..5bfb7e6725f5915821a9137a8028e387e3207a42
--- /dev/null
+++ b/composer.json
@@ -0,0 +1,22 @@
+{
+  "name": "drupal/views_search_snippet",
+  "type": "drupal-module",
+  "description": "Views search snippet",
+  "keywords": [
+    "Drupal"
+  ],
+  "license": "GPL-2.0-or-later",
+  "homepage": "https://www.drupal.org/project/views_search_snippet",
+  "support": {
+    "issues": "https://www.drupal.org/project/issues/views_search_snippet",
+    "source": "https://git.drupalcode.org/project/views_search_snippet"
+  },
+  "repositories": {
+    "packages.drupal": {
+      "type": "composer",
+      "url": "https://packages.drupal.org/9"
+    }
+  },
+  "minimum-stability": "dev",
+  "suggest": {}
+}
diff --git a/views_search_snippet.info.yml b/views_search_snippet.info.yml
index 8cdf5f843b0325aa6d27905e885f016e53aeafed..0f74704cbe20e65aab25b0d6b19598c08df64a51 100644
--- a/views_search_snippet.info.yml
+++ b/views_search_snippet.info.yml
@@ -1,8 +1,9 @@
 name: Views Search Snippet
 description: A snippet from the content with search keywords highlighted. This will not be used if the search filter is not also present.
-core: 8.x
+core_version_requirement: ^8.8 || ^9
 type: module
 package: Views
 dependencies:
   - views
   - search
+