Game-Jaming/bootstrap.php

14 lines
328 B
PHP
Raw Normal View History

2021-03-03 08:49:59 +00:00
<?php
require "vendor/autoload.php";
use Illuminate\Database\Capsule\Manager as Capsule;
$capsule = new Capsule;
$capsule->addConnection([
"driver" => "mysql",
2021-03-22 14:29:18 +00:00
"host" =>"localhost",
"database" => "TestDB",
2021-03-03 08:49:59 +00:00
"username" => "root",
2021-03-22 14:29:18 +00:00
"password" => "V#_xWL6_"
2021-03-03 08:49:59 +00:00
]);
$capsule->setAsGlobal();
2021-03-22 14:29:18 +00:00
$capsule->bootEloquent();