Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

laravel sanctum

if ($user->tokenCan('server:update')) {
    //
}
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #laravel #sanctum
ADD COMMENT
Topic
Name
3+4 =