@if(isset($siteDetails['site_footer_text']))
@php
$footerText = $siteDetails['site_footer_text'];
//replace {year} with current year
$footerText = str_replace('{year}', date('Y'), $footerText);
//replace {site_name} with site name
$footerText = str_replace('{site_name}', $siteDetails['site_name'], $footerText);
//replace {site_url} with site url
$footerText = str_replace('{site_url}', url('/'), $footerText);
echo $footerText;
@endphp
@else
{!!'© '.date("Y").' Boostala. All rights reserved.'!!}
@endif