skip to Main Content

How to show encrypted user id in url in laravel?

I created a URL to edit logged in user data here is my route: Route::get('/admin/create/user', [UserController::class, 'createUser'])->name('create.user'); Route::post('/admin/store/user', [UserController::class, 'storeUser'])->name('store.user'); Route::get('/admin/edit/user/{user_id}', [UserController::class, 'editUser'])->name('edit.user'); When a user clicks the edit button they get this URL. http://127.0.0.1:8000/admin/edit/user/160 If that user put 162…

VIEW QUESTION

Laravel runs Async HTTP Requests in Sequence instead of Concurrently

Does not work: I am trying to run multiple HTTP requests concurrently using Laravel's HTTP facade. Unfortunately, Laravel always executes them in sequence when I am using Http::async()->get(...): use IlluminateSupportFacadesHttp; use GuzzleHttpPromiseUtils; $promises = [ Http::async()->get('https://postman-echo.com/delay/3'), Http::async()->get('https://postman-echo.com/delay/3'), ]; $combinedPromise =…

VIEW QUESTION

laravel filament very slow

At the moment, I'm engaged in a project that employs Laravel's Filemant, and I've noticed significant slowness when navigating between pages or submitting forms. The delay can range from 10 to 18 seconds. My development environment is : Wampserver Windows…

VIEW QUESTION
Back To Top
Search