diff --git a/api/composer.json b/api/composer.json index e1058f7..16878b5 100755 --- a/api/composer.json +++ b/api/composer.json @@ -2,7 +2,7 @@ "require": { "reflect/plugin-rules": "^1.5", "victorwesterlund/xenum": "dev-master", - "victorwesterlund/libmysqldriver": "dev-master" + "vlw/mysql": "dev-master" }, "minimum-stability": "dev" } diff --git a/api/composer.lock b/api/composer.lock index 2b6ee6b..d46e22b 100755 --- a/api/composer.lock +++ b/api/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "13ba5cc60bab24ac8ef5b1018fe4249b", + "content-hash": "f3f2b3cb3bd789eee6af4a93f4a6e0f9", "packages": [ { "name": "reflect/plugin-rules", @@ -43,44 +43,6 @@ }, "time": "2024-01-17T11:07:44+00:00" }, - { - "name": "victorwesterlund/libmysqldriver", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/VictorWesterlund/php-libmysqldriver.git", - "reference": "adc2fda90a3b8308e8a9df202d5ec418a9220ff8" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/VictorWesterlund/php-libmysqldriver/zipball/adc2fda90a3b8308e8a9df202d5ec418a9220ff8", - "reference": "adc2fda90a3b8308e8a9df202d5ec418a9220ff8", - "shasum": "" - }, - "default-branch": true, - "type": "library", - "autoload": { - "psr-4": { - "libmysqldriver\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "GPL-3.0-only" - ], - "authors": [ - { - "name": "Victor Westerlund", - "email": "victor.vesterlund@gmail.com" - } - ], - "description": "Abstraction library for common mysqli features", - "support": { - "issues": "https://github.com/VictorWesterlund/php-libmysqldriver/issues", - "source": "https://github.com/VictorWesterlund/php-libmysqldriver/tree/3.6.1" - }, - "time": "2024-04-29T08:17:12+00:00" - }, { "name": "victorwesterlund/xenum", "version": "dev-master", @@ -118,6 +80,34 @@ "source": "https://github.com/VictorWesterlund/php-xenum/tree/1.1.1" }, "time": "2023-11-20T10:10:39+00:00" + }, + { + "name": "vlw/mysql", + "version": "dev-master", + "source": { + "type": "git", + "url": "https://codeberg.org/vlw/php-mysql", + "reference": "619f43b3bfab9eb034dca3e54c7466055240c861" + }, + "default-branch": true, + "type": "library", + "autoload": { + "psr-4": { + "vlw\\MySQL\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "GPL-3.0-or-later" + ], + "authors": [ + { + "name": "Victor Westerlund", + "email": "victor@vlw.se" + } + ], + "description": "Abstraction library for common MySQL/MariaDB DML operations with php-mysqli", + "time": "2024-09-25T13:28:15+00:00" } ], "packages-dev": [], @@ -125,7 +115,7 @@ "minimum-stability": "dev", "stability-flags": { "victorwesterlund/xenum": 20, - "victorwesterlund/libmysqldriver": 20 + "vlw/mysql": 20 }, "prefer-stable": false, "prefer-lowest": false, diff --git a/api/src/databases/VLWdb.php b/api/src/databases/VLWdb.php index 2a459af..42892c8 100755 --- a/api/src/databases/VLWdb.php +++ b/api/src/databases/VLWdb.php @@ -7,7 +7,7 @@ use Reflect\Response; use ReflectRules\Ruleset; - use libmysqldriver\MySQL; + use vlw\MySQL\MySQL; enum Databases: string { case VLW = "vlw";