Solution:1
Both @endsection
and @stop
works.
In Laravel 4 it seems that only @stop
is supported 1. But from Laravel 5 onwards @stop
is not even mention in the documentation 2.
So I would suggest to use @endsection
.
See:
- Laravel 4 Blade Documentation
- Laravel 5.7 Blade Documentation (current stable)