ternary operator php in blade code example Example: ternary operator laravel blade //laravel {{ condition ? 'yes' : 'no' }}