app->environment('production')) { URL::forceScheme('https'); } Blade::directive('includeSVG', function ($arguments) { list($path, $styles) = array_pad(explode(',', str_replace(['(', ')', ' ', "'"], '', $arguments), 2), 2, ''); $svgContent = file_get_contents(public_path($path)); $svgContent = str_replace('