This commit is contained in:
Michał Sieciechowicz 2021-02-28 00:09:45 +01:00
parent c91ccb9480
commit 078bdb1f5c
2 changed files with 9 additions and 4 deletions

View File

@ -13,5 +13,11 @@
"email": "michal@fufle.net" "email": "michal@fufle.net"
} }
], ],
"minimum-stability": "dev" "minimum-stability": "dev",
"autoload": {
"psr-4": {
"Fufle\\": "src/",
"App\\": "app/"
}
}
} }

View File

@ -1,9 +1,8 @@
<?php <?php
require_once __DIR__ . '/../vendor/autoload.php'; require_once __DIR__ . '/../vendor/autoload.php';
use Fufle\Database; use App\Model\Job;
use Fufle\Database\ConnectionManager;
echo SayHello::world();
$dns = 'pgsql:host=localhost;port=5432;dbname=dynamic_dev;user=test;password=pass123'; $dns = 'pgsql:host=localhost;port=5432;dbname=dynamic_dev;user=test;password=pass123';
ConnectionManager::Connect($dns); ConnectionManager::Connect($dns);