Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Laravel @env

@env('local')
   {{-- will only be rendered in the local environment --}}
    <div class="space-y-2">
        <x-login-link email="admin@spatie.be"/>
        <x-login-link email="user@spatie.be"/>
    </div>
@endenv
Source by panjeh.medium.com #
 
PREVIOUS NEXT
Tagged: #Laravel
ADD COMMENT
Topic
Name
3+9 =