DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
execute artisan command from route
Route
::
get
(
'clear_cache'
,
function
(
)
{
Artisan
::
call
(
'cache:clear'
)
;
dd
(
"Cache is cleared"
)
;
}
)
;
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#execute
#artisan
#command
#route
ADD COMMENT
Topic
COMMENT
Name
1+9 =
Submit