DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
How to check current URL inside @if statement in Laravel
@if (request()->is('admin/myRoute')) [do stuff] @endif
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#How
#check
#current
#URL
#statement
#Laravel
ADD COMMENT
Topic
COMMENT
Name
3+2 =
Submit