PHP Classes
elePHPant
Icontem

File: sample/Database/config.php

Recommend this page to a friend!
  Classes of Rafael Becker  >  PHP Expressive  >  sample/Database/config.php  >  Download  
File: sample/Database/config.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP Expressive
Base class for Object Relational Mapping
Author: By
Last change:
Date: 1 month ago
Size: 295 bytes
 

Contents

Class file image Download
<?php

use Solis\Expressive\Classes\Illuminate\Database;

Database::boot(
    [
       
'driver' => getenv('DB_DRIVER'),
       
'host' => getenv('DB_HOST'),
       
'database' => getenv('DB_NAME'),
       
'username' => getenv('DB_USER'),
       
'password' => getenv('DB_PASS'),
    ]
);