try something like this : @canany(['update', 'view', 'delete'], $post) @elsecanany(['create'], \App\Models\Post::class) @endcanany