public function config()
    {
        $config = config('packer');

        if (empty($config['environment'])) {
            $config['environment'] = app()->environment();
        }

        if (empty($config['public_path'])) {
            $config['public_path'] = public_path();
        }

        if (empty($config['asset'])) {
            $config['asset'] = asset('');
        }

        return $config;
    }
public function config()
    {
        $config = config('packer');

        if (empty($config['environment'])) {
            $config['environment'] = app()->environment();
        }

        if (empty($config['public_path'])) {
            $config['public_path'] = public_path();
        }

        if (empty($config['asset'])) {
            $config['asset'] = asset('');
        }

        return $config;
    }
public function config ( ) { $ config = config ( 'packer' ) ; if ( empty ( $ config [ 'environment' ] ) ) { $ config [ 'environment' ] = app ( ) -> environment ( ) ; } if ( empty ( $ config [ 'public_path' ] ) ) { $ config [ 'public_path' ] = public_path ( ) ; } if ( empty ( $ config [ 'asset' ] ) ) { $ config [ 'asset' ] = asset ( '' ) ; } return $ config ; }
Get the base settings from config file

@return array
Get the base settings from config file