I have created a file localization.php and i defined some variable like:
localization.php
<?php
$color = 'red';
$background = 'orange';
?>
now i included the localization.php file in all my blade templates like:
@include('localization')
and here in template i want to echo the variables which i mentioned in localiztion.php
{{$color}} //when i use this it show error 'undefined variable'
can you guys please help me to fix this