public static function key($key)
    {
        $config = static::where('key', $key)->first();

        return $config->value ?? config($key, null);
    }
public static function key($key)
    {
        $config = static::where('key', $key)->first();

        return $config->value ?? config($key, null);
    }
public static function key ( $ key ) { $ config = static :: where ( 'key' , $ key ) -> first ( ) ; return $ config -> value ?? config ( $ key , null ) ; }
Get value by key.

@param string $key
@return string
Get value by key .