etherallax wrote a comment+100 XP
5d ago
Laravel From Scratch (2026 Edition): Ep 7, Forms
For those who are on v13 and are stuck at the @crsf issue, here is the fix. (taken from a reply I did).
I have looked at the v13.x documentation and there is a new route we need to add for it to work right.
Route::get('/token', function (Request $request) {
$token = $request->session()->token();
$token = csrf_token();
});
etherallax wrote a comment+100 XP
5d ago
Laravel From Scratch (2026 Edition): Ep 7, Forms
I have looked at the v13.x documentation and there is a new route we need to add for it to work right.
Route::get('/token', function (Request $request) {
$token = $request->session()->token();
$token = csrf_token();
});
etherallax wrote a comment+100 XP
5d ago
Laravel From Scratch (2026 Edition): Ep 1, Welcome Aboard
Nice! 2026 hype!