No there was a module in django which convets the id to random int and vice versa, Is there any package in laravel?

|
Mohd Zaid Khan 2022-04-19 13:44:28
mynameisbrad 2022-04-19 13:42:59
With the same logic you can generate a random integer for each record in the database and search it by the random int

no there was a module in django which convets the id to random int and vice versa, Is there any package in laravel ?

mynameisbrad 2022-04-19 13:46:22
not in my knowledge, you can always do it custom tho. you can do the random int yourself, or even if you want you can hash it. To be honest there are a lot of solutions
Mohd Zaid Khan 2022-04-19 13:55:35
mynameisbrad 2022-04-19 13:46:22
not in my knowledge, you can always do it custom tho. you can do the random int yourself, or even if you want you can hash it. To be honest there are a lot of solutions

ok thanks bro

DayGrowing 2022-04-19 14:40:16
Hi guys, please what can be the cause of this
DayGrowing 2022-04-19 14:40:33
laravel_discuss-116849.jpg

DayGrowing 2022-04-19 14:40:47
The yellow underlined…
MarcoBarzot 2022-04-19 14:51:51
Buen dia saludos, tengo un problema en las rutas de tipo resource en laravel inertia y vue js si me pueden ayudar por favor

Route::middleware([
‘auth:sanctum’,
config(‘jetstream.auth_session’),
‘verified’,
])->resource(‘/User’, UserController::class);

mazcvei 2022-04-19 14:56:23
MarcoBarzot 2022-04-19 14:51:51
Buen dia saludos, tengo un problema en las rutas de tipo resource en laravel inertia y vue js si me pueden ayudar por favor

Route::middleware([
‘auth:sanctum’,
config(‘jetstream.auth_session’),
‘verified’,
])->resource(‘/User’, UserController::class);

y el problema cual es? xD

DayGrowing 2022-04-19 15:10:32
DayGrowing 2022-04-19 14:40:47
The yellow underlined…

Don’t worry guys, it has been solves…

MarcoBarzot 2022-04-19 15:17:43
mazcvei 2022-04-19 14:56:23
y el problema cual es? xD

laravel_discuss-116860.jpg

mazcvei 2022-04-19 15:18:04
MarcoBarzot 2022-04-19 15:17:43

no encuentra la ruta “login”

MarcoBarzot 2022-04-19 15:19:47
laravel_discuss-116863.jpg
Disculpa, Me sale asi pantalla en blanco
MarcoBarzot 2022-04-19 15:25:37
laravel_discuss-116865.jpg
Archivo Routes/Web.php
MarcoBarzot 2022-04-19 15:51:34
Agradecido si me pueden auxiliar..
MarcoBarzot 2022-04-19 15:54:07
laravel_discuss-116870.jpg

DesolatorMagno 2022-04-19 15:58:12
MarcoBarzot 2022-04-19 15:54:07

En el error dice que la ruta user.index no existe, has un route:list y verifica todas las rutas.

MarcoBarzot 2022-04-19 16:08:30
laravel_discuss-116874.jpg
Las Rutas
MarcoBarzot 2022-04-19 16:11:42
llevo 1 semana en esto poniendolo pa’lante y pa’tras..
Gidi 2022-04-19 16:26:29
Mohd Zaid Khan 2022-04-19 13:38:59
how can i pass random integer or string value instead of the id of model
/posts/id — /posts/12
/posts/random-int — /posts/2873652
I dont want to show the model id in the uri

in your model. put this function and then you return the name of the table column you want

public function getRouteKeyName()
{
return ‘[name of table column]’;
}

then in your routes you go like

/posts/{post->[name of column]}

i hope im making sense

DesolatorMagno 2022-04-19 16:36:38
User.index != user.index
programmer1453 2022-04-19 17:20:00
trendsfinance.com domain name is for sale, anyone who is thinking of buying can send a message
mazcvei 2022-04-19 17:59:09
DesolatorMagno 2022-04-19 16:36:38
User.index != user.index

F por la semana perdida xD

DesolatorMagno 2022-04-19 18:12:21
mazcvei 2022-04-19 17:59:09
F por la semana perdida xD

Por eso lo primero que hago es revisar las rutas, y en caso de cualquier error buscar primero por errores leves (como ortografico o de tipeo) es importante.

devpsoft 2022-04-19 21:11:09
https://github.com/rabie85/laravel-visitor-tracker

GitHub – rabie85/laravel-visitor-trackerGitHub
Contribute to rabie85/laravel-visitor-tracker development by creating an account on GitHub.
rlawjddn00 2022-04-19 22:42:22
Is it possible to accesss vm(kvm) in cli?
yousef_aman 2022-04-20 03:23:54
I apologize for this strange question.. but I have problems when I want to watch a video course.. because I want to
1 – watch the video
2 – and write important notes
3 – and also apply what I have learned..
I want your advice on the correct study method..
How can I do the three steps in each video correctly..
Because I think I wasted time in these steps and did not benefit enough
DesolatorMagno 2022-04-20 04:21:15
yousef_aman 2022-04-20 03:23:54
I apologize for this strange question.. but I have problems when I want to watch a video course.. because I want to
1 – watch the video
2 – and write important notes
3 – and also apply what I have learned..
I want your advice on the correct study method..
How can I do the three steps in each video correctly..
Because I think I wasted time in these steps and did not benefit enough

It varies to much, one thing you can do is start the video, pause it and try doing things by yourself and then continue the video and compare, when you are just watching or mimicking what you see, there is no much that stay in your brain.

Jinreign 2022-04-20 06:10:55
laravel_discuss-116965.jpg
Can someone tell me how to fix this? i just transfer my foldr from PC 1 to PC 2. thank you
Chinonye 2022-04-20 07:57:01
Hi, I’m new here.
Can someone tell me why my Larvel faucet account is suspended? It says “Suspected of using Automation Scripts”. I don’t even know what that is.
Ambritha Gilbert-42838650 2022-04-20 09:43:25
Hiii i have one doubt plzz help me
KhakiMohsen 2022-04-20 09:52:11
laravel_discuss-116983.jpg
Hi, I have new problem with redirect 301 in routes by Laravel
When user enter site built with Laravel by a route ended with / (ex: www_alison_COM/courses/) laravel automatically redirect (301) to this route without / in end.
we need to handle this auto redirect for some of routes, but i can’t find it in Laravel middleware and .htacess file.
ANKIT PANWAR 2022-04-20 11:14:45
Hello everyone
I need laravel 8 admin panel set up.
Anyone have admin set up.
FlorianFalk 2022-04-20 12:02:13
ANKIT PANWAR 2022-04-20 11:14:45
Hello everyone
I need laravel 8 admin panel set up.
Anyone have admin set up.

https://nova.laravel.com

Maybe this is sth for you?

Madhesh 2022-04-20 13:42:30
in my laravel view, I’ve a table row which duplicates when a button is clicked using jQuery clone method. My task is to get the field values inside the duplicated row when the form is submitted.
Venusky 2022-04-20 13:56:34
How to get access of my website folder on vscode with FTP configuration
|