diff --git a/shell.nix b/shell.nix index ecf6c85..a9f1c48 100644 --- a/shell.nix +++ b/shell.nix @@ -3,9 +3,11 @@ with pkgs; mkShell { - buildInputs = [ php mysql57 ]; + buildInputs = + [ php74 php74Extensions.pdo_mysql php74Packages.composer mysql57 ]; shellHook = '' + pkill mysql rm -rf .mysql && mkdir .mysql mysqld --datadir="$(pwd)/.mysql" --socket="$(pwd)/.mysql/mysql.sock" --initialize-insecure diff --git a/src/database.php b/src/database.php new file mode 100644 index 0000000..aa0b912 --- /dev/null +++ b/src/database.php @@ -0,0 +1,13 @@ +