Questions tagged [laravel-10]

The most up-to-date version of the PHP web framework, Laravel 10, is now available. Developed by Taylor Otwell, this open-source framework was officially launched on February 14, 2023. Any inquiries related to Laravel can be tagged with [laravel].

After implementing ajax jQuery with Laravel 10, this page is experiencing technical difficulties

Seeking assistance from experienced individuals in dealing with Ajax jQuery within the context of Laravel. I have encountered a problem that has proven difficult for me to resolve on my own. Sample html code: <li> <a href="" onclick ...

The verified class jetstream does not exist

Recently, I decided to dive into Laravel 10 and installed Jetstream. To check my routes using php artisan route:list in the console, an error popped up stating: Class "verified" does not exist. Even though I have declared verified in my Kernel: ...

Having trouble with Laravel Sanctum CSRF and NextJs 14 integration

Currently, I am facing a challenge with communication between my Laravel server and Next.js frontend. An error 419 related to CSRF is encountered when sending requests like login requests. I want to highlight that tests were carried out on the same Larave ...

Encountering a problem with Laravel's route list functionality

Getting an error message: Error: Ziggy error: route 'contract/generatePDF?id=517&pickupKM=0' is not in the route list. However, it is defined in web.php as follows: GET|HEAD contract/generatePDF Route::get('contract/generatePDF', [AppHttpCon ...

Switch up the port in a React application using VITE

Currently, I am developing an application that combines Laravel 10 with React JS and Vite. In order to change the port, I updated it in the package.json file within the "dev" script section like this ("dev": "vite --port=3000"). However, despite making thi ...

Encountered an issue in Laravel 5.7 JSONResource toArray method: Declaration must be compatible

I'm encountering an issue while trying to use the JSON Resource to Array converter in Laravel. Here is a snippet of my code: DataResource.php <?php namespace AppHttpResources; use IlluminateHttpRequest; use IlluminateHttpResourcesJsonJsonReso ...