-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Bastien Crettenand edited this page Aug 28, 2019
·
4 revisions
> composer install crbast/slsql
By default the configuration file is located in: /vendor/crbast/slsql/src/Config.php
It is possible to override this file by creating a configuration file in this way (no matter the path of the file):
Config.php
<?php namespace slsql;
class Config
{
const dbType = 'mysql',
dbName = 'slsql_test',
host = '127.0.0.1:3306',
user = 'root',
password = '123';
}
And include it in your autoload
Create your own models! -> Documentation - Model