laravel create csrf token code example
Example 1: csrf token laravel
{{ csrf_token() }}
{{ csrf_field() }}
Example 2: laravel csrf token
<form method="POST" action="/profile">
@csrf
<input name="name">
<button type="submit">send</button>
</form>