<?php $config = new App\AppConfig(); $config->addConfig(["bg" => ["route", "middleware"], "blog" => ["route", "api"]]); $config->init($app);
/** * Run the database seeds. * * @return void */ public function run() { DB::table('app_configs')->delete(); App\AppConfig::create(array('key' => 'best_buy_api_key', 'value' => 'sds252jk62quyu9s3suwvnpr')); }