diff --git a/src/Factory.php b/src/Factory.php
index <HASH>..<HASH> 100644
--- a/src/Factory.php
+++ b/src/Factory.php
@@ -28,6 +28,23 @@ abstract class Factory
         string $password = null,
         array $options = []
     ): EasyDB {
+        return static::fromArray([$dsn, $username, $password, $options]);
+    }
+    
+    /**
+     * Create a new EasyDB object from array of parameters
+     *
+     * @param string $dsn
+     * @param string $username
+     * @param string $password
+     * @param array $options
+     * @return \ParagonIE\EasyDB\EasyDB
+     * @throws Issues\ConstructorFailed
+     */
+    public static function fromArray(array $config): EasyDB {
+
+        list($dsn, $username, $password, $options) = $config;
+
         $dbEngine = '';
         $post_query = null;
Add fromArray() alias for connect()

In case an exception is thrown in coonect(), database credentials are shown in the stack trace.

So an alias fromArray() is added, to put all credentials into array which will appear in the stack trace as a mere word "Array".