Hello Devs, 

In this tutorial, we will learn Laravel Blade Empty Example

In addition to the conditional directives already discussed, the @empty directives may be used as convenient shortcuts for their respective PHP functions

Follow this step by step guide below, 

Syntax:

@empty(variable)

    // variable is empty...

@endempty


Example:

<!DOCTYPE html>
<html>
<head>
    <title>Laravel - How to check if empty variable in Blade?</title>
</head>
<body>
    @empty($message)
        {{ $message }}
    @endempty
</body>
</html>

May this example help you.