use Medoo\Medoo;
$db=new Medoo([
'type'=>'mysql',
'host'=>'localhost',
'database'=>$_ENV['MYSQL_DB'],
'username'=>$_ENV['MYSQL_USER'],
'password'=>$_ENV['MYSQL_PASSWORD'],
'charset'=>'utf8mb4',
'collation'=>'utf8mb4_unicode_ci',
'port'=>3306
]);
use Medoo\Medoo;
$db=new Medoo([
'type'=>'sqlite',
'database'=>__DIR__.'/db/db.sqlite3'
]);
composer require catfan/medoo