Phalcon\Config is a component used to convert configuration files of various formats (using adapters) into PHP objects for use in an application.
Native Arrays
The first example shows how to convert native arrays into Phalcon\Config objects. This option offers the best performance since no files are read during this request.
use Phalcon\Config;
$settings = [
"database" => [
"adapter" => "Mysql",
"host" => "localhost",
"username" => "scott",