diff --git a/ludwig.json b/ludwig.json
new file mode 100644
index 0000000..be7ba8e
--- /dev/null
+++ b/ludwig.json
@@ -0,0 +1,8 @@
+{
+    "require": {
+        "solarium/solarium": {
+            "version" : "3.8.1",
+            "url": "https://github.com/solariumphp/solarium/archive/3.8.1.zip"
+        }
+    }
+}
diff --git a/search_api_solr.install b/search_api_solr.install
index c224ae2..ad28285 100644
--- a/search_api_solr.install
+++ b/search_api_solr.install
@@ -10,7 +10,15 @@ use Drupal\Core\Url;
 function search_api_solr_requirements($phase) {
   $ret = array();
 
-  if ($phase == 'runtime') {
+  if ($phase == 'install') {
+    if (!class_exists('\Solarium\Core\Client\Request')) {
+      $ret['search_api_solr_library'] = [
+        'description' => t('Solr search requires the solarium/solarium library.'),
+        'severity' => REQUIREMENT_ERROR,
+      ];
+    }
+  }
+  elseif ($phase == 'runtime') {
     $servers = search_api_solr_get_active_servers();
     $count = 0;
     $unavailable = 0;
