public function resource_path($path = '') { return app()->basePath() . '/resources' . ($path ? '/' . $path : $path); }