Relative Content

Tag Archive for phplaravel-11

CSRF token mismatch error in response when submit a form in laravel 11 application

I am using Laravel 11 for build a application in which a admin panel i have created and created a front-end website. In front-end website a form is exist. when i submit a form than request is not called and HTTP status code 419 unknown status is coming. and when inspect the request in browser. the response is showing “CSRF Token mismatch”

Multi languages is not working in laravel 11.1.1

I am using Laravel11.1.1 to build a school website, but the Language switch button is not working as the page shows only English language , actually clicking the arabic button doesn’t change the language.
LanguageController code:

How to make a component in module of laravel

I have checked the Laravel documentation, but it only provides information on creating components in the main directory, not within a module.
https://laravel.com/docs/11.x/blade#components